Skip to content
Snippets Groups Projects
Commit e6033b87 authored by David Thompson's avatar David Thompson
Browse files

Force order of unregistration of cell-grid responders.

Cell-grid responder classes often hold other VTK objects.
If the registrar holding responders happens to be destroyed
after the vtkDebugLeaks or the vtkFilteringInformationKeyManager
classes perform their finalization, this can result in either
false-positive leaks or crashes (when information-keys that
have been deleted are dereferenced) or both.

Add vtkCellMetadata::ClearResponders() to force all cell-grid
responders to be unregistered and ensure it is called before
vtkDebugLeaks::ClassFinalize or
vtkFilteringInformationKeyManager::ClassFinalize are run.
parent c66928a4
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment