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.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My game being consistently crashing, I ran a serie of memory leak tests, just to discover that extend Joybox::Common::Initialize prevents deallocation of objects.
Since it is used in almost every Joybox classes, almost everything is retained and barely nothing in deallocated.
Besides, I don't understand the point of this extension since RubyMotion has already an initializer by default for all classes.
I removed all extend Joybox::Common::Initialize and my game works fine, without memory leaks.
The text was updated successfully, but these errors were encountered:
My game being consistently crashing, I ran a serie of memory leak tests, just to discover that
extend Joybox::Common::Initialize
prevents deallocation of objects.Since it is used in almost every Joybox classes, almost everything is retained and barely nothing in deallocated.
Besides, I don't understand the point of this extension since RubyMotion has already an initializer by default for all classes.
I removed all
extend Joybox::Common::Initialize
and my game works fine, without memory leaks.The text was updated successfully, but these errors were encountered: