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

Work around PyQt memory leak on the Krita::documents() method. #1359

Merged
merged 1 commit into from
Nov 5, 2024

Conversation

FeepingCreature
Copy link
Contributor

@FeepingCreature FeepingCreature commented Nov 4, 2024

documents() is specified as QList<Document *> documents() const /Factory/; in Krita.sip. This means that the QList is cleaned up (/Factory/), but as Document* is very generic SIP has no idea what to do with them and they just leak.

@FeepingCreature FeepingCreature force-pushed the fix/work-around-memleak branch 6 times, most recently from 30ffe9d to 0245fff Compare November 4, 2024 22:18
@FeepingCreature FeepingCreature force-pushed the fix/work-around-memleak branch from 0245fff to d435ccb Compare November 4, 2024 22:24
@Acly Acly merged commit 8b93425 into Acly:main Nov 5, 2024
2 checks passed
@FeepingCreature FeepingCreature deleted the fix/work-around-memleak branch November 5, 2024 16:19
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.

2 participants