Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

extend Joybox::Common::Initialize responsible of memory leaks #71

Open
n-studio opened this issue Mar 19, 2014 · 0 comments
Open

extend Joybox::Common::Initialize responsible of memory leaks #71

n-studio opened this issue Mar 19, 2014 · 0 comments

Comments

@n-studio
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant