RT was crashing when exiting with On Preview Widget displayed

see issue #5419
This commit is contained in:
Hombre
2019-08-19 20:17:09 +02:00
parent 6c91abc3e9
commit 3a538b9b83

View File

@@ -1090,8 +1090,8 @@ void EditorPanel::close ()
if (iareapanel) {
iareapanel->imageArea->setPreviewHandler (nullptr);
iareapanel->imageArea->setImProcCoordinator (nullptr);
tpc->editModeSwitchedOff();
}
tpc->editModeSwitchedOff();
rtengine::StagedImageProcessor::destroy (ipc);
ipc = nullptr;