You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
By default, dnlib loads modules using memory mapped files. This requires the caller to explicitly dispose the module to unlock the file. However, there is no way to retrieve cached assemblies (as well as their modules) in an AssemblyResolver to dispose them.
The text was updated successfully, but these errors were encountered:
If you want to remove an assembly you yourself loaded and added to the cache, you could call IAssemblyResolver.Remove (or the extension methods), then call Dispose().
fca5ae7 added a Clear() method you can call to dispose of all cached modules.
By default, dnlib loads modules using memory mapped files. This requires the caller to explicitly dispose the module to unlock the file. However, there is no way to retrieve cached assemblies (as well as their modules) in an AssemblyResolver to dispose them.
The text was updated successfully, but these errors were encountered: