I have a (parent)class pointing to an items class.
The items class holds a reference to the parent class.
This seems to prevent proper unloading.
The parent class does not get signaled for destruction so i can not destroy the items class.
A chicken-egg situation.
Should i use an object pointer?
I think this is bad..
The items class holds a reference to the parent class.
This seems to prevent proper unloading.
The parent class does not get signaled for destruction so i can not destroy the items class.
A chicken-egg situation.
Should i use an object pointer?
I think this is bad..
Comment