Allow for clearing a module from cache
This commit is contained in:
parent
9ca70e8346
commit
e78ad21d0e
|
@ -21,5 +21,10 @@ namespace Upsilon
|
||||||
_cachedModules.Add(name, module);
|
_cachedModules.Add(name, module);
|
||||||
return module;
|
return module;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void ClearCachedModule(string name)
|
||||||
|
{
|
||||||
|
_cachedModules.Remove(name);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue