Segfault closing second detail window before its done rendering, Issue 2395

This commit is contained in:
Ingo
2014-05-25 15:54:08 +02:00
parent 5ce132c177
commit d4e2a3334d
4 changed files with 14 additions and 3 deletions

View File

@@ -205,6 +205,9 @@ class ImProcCoordinator : public StagedImageProcessor {
void getSpotWB (int x, int y, int rectSize, double& temp, double& green);
void getAutoCrop (double ratio, int &x, int &y, int &w, int &h);
bool updateTryLock () {return updaterThreadStart.trylock();}
void updateUnLock () {updaterThreadStart.unlock();}
void setProgressListener (ProgressListener* pl) { plistener = pl; }
void setPreviewImageListener (PreviewImageListener* il) {imageListener = il; }
void setSizeListener (SizeListener* il) {sizeListeners.push_back (il); }