Skip to content

Fix memory leak in GLScatterPlotItem#108

Merged
campagnola merged 1 commit intopyqtgraph:developfrom
jdreaver:develop
Oct 25, 2014
Merged

Fix memory leak in GLScatterPlotItem#108
campagnola merged 1 commit intopyqtgraph:developfrom
jdreaver:develop

Conversation

@jdreaver
Copy link
Copy Markdown
Contributor

Fixes #103. If a ScatterPlotItem was removed from a plot and added again, glGenTetures was called again unneccesarily. Each time it is called, it eats up a little more space.

We agreed that this solution was fine, since pyqtgraph.opengl items should't be used in multiple contexts.

Thanks!

Fixes #103. If a ScatterPlotItem was removed from a plot and added
again, glGenTetures was called again unneccesarily. Each time it is
called, it eats up a little more space.
@campagnola campagnola merged commit 8f273f5 into pyqtgraph:develop Oct 25, 2014
@campagnola
Copy link
Copy Markdown
Member

Thanks!

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.

Memory Leak when adding GLScatterPlotItem

2 participants