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 QgsMapLayer ConvertToSubClassCode #3611

Merged
merged 1 commit into from Oct 17, 2016
Merged

Fix QgsMapLayer ConvertToSubClassCode #3611

merged 1 commit into from Oct 17, 2016

Conversation

m-kuhn
Copy link
Member

@m-kuhn m-kuhn commented Oct 17, 2016

Fix #15683

@m-kuhn m-kuhn merged commit 03f08a6 into qgis:master Oct 17, 2016
@wonder-sk
Copy link
Member

I am not sure I understand how it fixes the underlying problem :-)

If inherits() does not return correct value, it seems like the underlying QObject probably got deleted in the meanwhile, or some memory corruption happened...

@m-kuhn
Copy link
Member Author

m-kuhn commented Oct 17, 2016

I don't understand it at all either. But it works.
If you find an explanation, I'll be more than happy to hear it :)

@nirvn
Copy link
Contributor

nirvn commented Oct 17, 2016

@wonder-sk , your initial testing with the garbage collection stuff did seem to reveal something was being deleted that wasn't under qt4 and/or pyqt4 and/or python2.

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.

None yet

3 participants