RT was crashing when exiting with On Preview Widget displayed
see issue #5419
This commit is contained in:
@@ -1090,8 +1090,8 @@ void EditorPanel::close ()
|
|||||||
if (iareapanel) {
|
if (iareapanel) {
|
||||||
iareapanel->imageArea->setPreviewHandler (nullptr);
|
iareapanel->imageArea->setPreviewHandler (nullptr);
|
||||||
iareapanel->imageArea->setImProcCoordinator (nullptr);
|
iareapanel->imageArea->setImProcCoordinator (nullptr);
|
||||||
}
|
|
||||||
tpc->editModeSwitchedOff();
|
tpc->editModeSwitchedOff();
|
||||||
|
}
|
||||||
|
|
||||||
rtengine::StagedImageProcessor::destroy (ipc);
|
rtengine::StagedImageProcessor::destroy (ipc);
|
||||||
ipc = nullptr;
|
ipc = nullptr;
|
||||||
|
Reference in New Issue
Block a user