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 slow leak of Pango context objects in drawable update #1801

Merged
merged 1 commit into from
Oct 15, 2020

Conversation

derbyw
Copy link
Contributor

@derbyw derbyw commented Oct 15, 2020

The change to use the Gtk# Pango (text) context associated with the control instead of creating a new local one on each draw event. The leaked objects would be detected as a slowly growing process memory footprint the rate of which was determined by the amount of Drawable update activity. Tested on several (windows/Linux) platforms for a few hours with stable process memory.
addresses issue #1796

@cwensley
Copy link
Member

Beautiful! Thanks for the fix.

@cwensley cwensley merged commit 8b94bc9 into picoe:develop Oct 15, 2020
@cwensley cwensley added this to the 2.5.7 milestone Oct 15, 2020
@cwensley cwensley added the bug label Nov 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants