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
This commit is contained in:
Carl Hetherington 2010-11-23 01:00:37 +00:00
parent 595c7c4411
commit 313da7822a
2 changed files with 15 additions and 1 deletions

View file

@ -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 ();