GKComponentSystem memory leaking

All GKComponents, registered in some GKComponentSystem, become indestructible after destroying the GKComponentSystem. To avoid that GKComponentSystem must explicitly remove all owned components before being destroyed. Looks like GKComponentSystem has some problem with strong references.

Answered by AlxAndrRaa in 703171022

It seems I have found semi-automatic solution:

Accepted Answer

It seems I have found semi-automatic solution:

as a result it is easier rebuild own mini-framework for simple ECS.

GKComponentSystem memory leaking
 
 
Q