Before/After fix by Fabio; see issue #497
This commit is contained in:
@@ -286,12 +286,24 @@ EditorPanel::~EditorPanel () {
|
|||||||
|
|
||||||
history->setHistoryBeforeLineListener (NULL);
|
history->setHistoryBeforeLineListener (NULL);
|
||||||
// the order is important!
|
// the order is important!
|
||||||
|
iarea->setBeforeAfterViews (NULL, iarea);
|
||||||
delete iarea;
|
delete iarea;
|
||||||
iarea = NULL;
|
iarea = NULL;
|
||||||
|
|
||||||
|
if (beforeIpc)
|
||||||
|
beforeIpc->stopProcessing ();
|
||||||
|
|
||||||
delete beforeIarea;
|
delete beforeIarea;
|
||||||
beforeIarea = NULL;
|
beforeIarea = NULL;
|
||||||
|
|
||||||
|
if (beforeIpc)
|
||||||
|
beforeIpc->setPreviewImageListener (NULL);
|
||||||
|
|
||||||
delete beforePreviewHandler;
|
delete beforePreviewHandler;
|
||||||
|
beforePreviewHandler = NULL;
|
||||||
|
if (beforeIpc)
|
||||||
|
rtengine::StagedImageProcessor::destroy (beforeIpc);
|
||||||
|
beforeIpc = NULL;
|
||||||
|
|
||||||
close ();
|
close ();
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user