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