13
0

StripSilence: invalidate Completed connection - fixes #6600

This commit is contained in:
Robin Gareus 2015-09-19 18:29:51 +02:00
parent cdd76636a0
commit 0e55dc470d

View File

@ -107,7 +107,7 @@ StripSilenceDialog::StripSilenceDialog (Session* s, list<RegionView*> const & v)
update_threshold_line ();
/* Create a thread which runs while the dialogue is open to compute the silence regions */
Completed.connect (_completed_connection, MISSING_INVALIDATOR, boost::bind (&StripSilenceDialog::update, this), gui_context ());
Completed.connect (_completed_connection, invalidator(*this), boost::bind (&StripSilenceDialog::update, this), gui_context ());
_thread_should_finish = false;
pthread_create (&_thread, 0, StripSilenceDialog::_detection_thread_work, this);
}