Fix use-after-free of ImageArea::mainCropWindow
(#3048)
This commit is contained in:
@@ -781,6 +781,7 @@ void EditorPanel::close ()
|
||||
if(iareapanel) {
|
||||
iareapanel->imageArea->setPreviewHandler (NULL);
|
||||
iareapanel->imageArea->setImProcCoordinator (NULL);
|
||||
iareapanel->imageArea->unsubscribe();
|
||||
}
|
||||
|
||||
rtengine::StagedImageProcessor::destroy (ipc);
|
||||
|
Reference in New Issue
Block a user