Bugfix: crash in batchqueue because progressListener was chained to the EditorPanel yet.

This commit is contained in:
ffsup2 2010-10-17 10:49:16 +02:00
parent 9b2767f154
commit 867330ece7

View File

@ -353,7 +353,8 @@ void EditorPanel::close () {
// close image processor and the current thumbnail
tpc->closeImage (); // this call stops image processing
tpc->writeOptions ();
rtengine::ImageSource* is=isrc->getImageSource();
is->setProgressListener( NULL );
if (ipc)
rtengine::StagedImageProcessor::destroy (ipc);
if (beforeIpc)