summaryrefslogtreecommitdiff
path: root/gtk2_ardour/strip_silence_dialog.h
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2010-11-23 01:00:37 +0000
committerCarl Hetherington <carl@carlh.net>2010-11-23 01:00:37 +0000
commit313da7822abf94176e40baab7cceeb9ed8e0c26b (patch)
treedd470b2057100c4e4f200f2b79091d3db11570e0 /gtk2_ardour/strip_silence_dialog.h
parent595c7c4411eafc163be38235e1979045527460c3 (diff)
Fix hang on closing the dialogue in some circumstances. Further fix for #3560.
git-svn-id: svn://localhost/ardour2/branches/3.0@8071 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/strip_silence_dialog.h')
-rw-r--r--gtk2_ardour/strip_silence_dialog.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk2_ardour/strip_silence_dialog.h b/gtk2_ardour/strip_silence_dialog.h
index c9b31578b9..15e6b206c1 100644
--- a/gtk2_ardour/strip_silence_dialog.h
+++ b/gtk2_ardour/strip_silence_dialog.h
@@ -91,6 +91,8 @@ private:
PBD::ScopedConnection* _peaks_ready_connection;
+ bool _destroying;
+
pthread_t _thread; ///< thread to compute silence in the background
static void * _detection_thread_work (void *);
void * detection_thread_work ();