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 assertion hit by unmanaged super calls #1014

Merged
merged 1 commit into from
Dec 19, 2019
Merged

Conversation

dcodeIO
Copy link
Member

@dcodeIO dcodeIO commented Dec 19, 2019

The existing assertion checks that we don't miss a retain when calling super, setting up the class instance's memory, but this misses that the class can be @unmanaged so there isn't anything to retain.

fixes #1013

@dcodeIO dcodeIO merged commit 14ac21c into master Dec 19, 2019
@dcodeIO dcodeIO deleted the fix-unmanaged-super branch January 1, 2020 14:22
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

Successfully merging this pull request may close these issues.

"assertion failed" when using @unmanaged classes and inheritance
1 participant