Allow for clearing a module from cache

This commit is contained in:
Deukhoofd 2018-12-14 17:54:35 +01:00
parent 9ca70e8346
commit e78ad21d0e
No known key found for this signature in database
GPG Key ID: B4C087AC81641654
1 changed files with 5 additions and 0 deletions

View File

@ -21,5 +21,10 @@ namespace Upsilon
_cachedModules.Add(name, module);
return module;
}
public void ClearCachedModule(string name)
{
_cachedModules.Remove(name);
}
}
}