Skip to content

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

Description

@n-studio

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions