Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
All classes in the
OmegaEngine namespace implementing the
IDisposable interface must be
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.