Plots containing an animation produce a memory leak, if they are closed while the animation is running.
This is due to the fact that the wxCloseEvent is not catched by the wxMGL class but by the window one hierarchy up. The close event is executed by the wxWindow base class, but the destructor is not called due to some weird fact. The issue can be solved by creating a explicit destructor in the GraphViewer class and by catching the close event in wxMGL.
This fix was tested manually using the Windows performance monitor. No deviations occured. Bug fix implemented successfully.
Anonymous
Diff:
Diff:
Diff:
Related
Commit: [r433]
Diff: