RenderSystemBase.Dispose(bool) Method
Definition
Namespace: Brine2D.ECS.Systems
Override to release cached queries and other resources held by this system.
Always call base.Dispose(disposing).
Parameters
disposing System.Boolean
Remarks
Any CachedEntityQuery<T1> \(or higher\-arity sibling\) created via CreateCachedQuery<T1>() must be disposed here. Failing to do so leaves the query registered in the world's invalidation index, preventing GC until the world itself is disposed.