Dispose

Bastian Eicher edited this page Mar 15, 2015 · 1 revision

All classes in the OmegaEngine namespace implementing the IDisposable interface must be .Dispose()ed manually.

Unlike other .NET objects you can not rely on the garbage collection to cleanup left-over resources here. This is because of circular references caused by event hooks as well as the asset management system's caching feature.

If you forget a .Dispose() this may trigger an exception (in Debug mode) or a log entry (in Release mode) at a non-deterministic point in time.

You can’t perform that action at this time.
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.
Press h to open a hovercard with more details.