Skip to content
Snippets Groups Projects

Add missing call to ReleaseGraphicsResources

Merged Simon Esneault requested to merge (removed):cocoa-release-graphics-resources into master

The Cocoa implementation of vtkOpenGLRenderWindow Finalize() method was missing a call to ReleaseGraphicsResources() and it can lead to a crash whenever an opengl context needs to be destroyed without destroying a window.

A typical example is when you reparent a QVTKWidget, see bug http://www.vtk.org/Bug/view.php?id=15840 for a full backtrace and a reproducible test case.

Simon Esneault

Cc: @ken-martin @seanm

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading