13
0

handle waveform drawing thread shutdown

This commit is contained in:
Robin Gareus 2015-09-02 01:46:31 +02:00
parent dc831e4d8b
commit c6d6f038b4

View File

@ -1526,6 +1526,11 @@ WaveView::drawing_thread ()
request_cond.wait (request_queue_lock);
}
if (request_queue.empty()) {
assert (g_atomic_int_get (&drawing_thread_should_quit));
continue; // or break;
}
/* remove the request from the queue (remember: the "request"
* is just a pointer to a WaveView object)
*/