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

Fix issue #171 - Added super.destroy() to all overridden destroy() methods #73

Merged
merged 1 commit into from
Sep 16, 2012

Conversation

IQAndreas
Copy link
Member

Fixes GitHub issue #171
AdamAtomic#171

In some places, super.destroy() was not required. For instance, some
classes extended FlxBasic which does not have any content in the
destroy() method.

However, just to be safe (and in case that function gets populated at a
later date), calling super was added anyway.

Fixes GitHub issue AdamAtomic#171
AdamAtomic#171

In some places, `super.destroy()` was not required. For instance, some
classes extended `FlxBasic` which does not have any content in the
`destroy()` method.

However, just to be safe (and in case that function gets populated at a
later date), calling super was added anyway.
@moly
Copy link
Member

moly commented Sep 14, 2012

This looks fine, I'm happy for it to be merged.

@Dovyski
Copy link
Member

Dovyski commented Sep 14, 2012

This looks fine to me too. I am glad it was fixed because it can produce some serious memory leaks. Great, @IQAndreas !

IQAndreas added a commit that referenced this pull request Sep 16, 2012
Fix issue #171 - Added `super.destroy()` to all overridden `destroy()` methods
@IQAndreas IQAndreas merged commit 574ae5b into FlixelCommunity:dev Sep 16, 2012
@IQAndreas IQAndreas mentioned this pull request Oct 15, 2013
5 tasks
@IQAndreas IQAndreas deleted the fix_issue_171 branch November 17, 2013 23:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants