mirror of
https://github.com/TomHarte/CLK.git
synced 2025-07-25 13:24:23 +00:00
Implemented flush
, added a call to it from the filter speaker's destructor, to ensure no race conditions on accessing the various bits of instance state there and below.
This commit is contained in:
@@ -39,7 +39,7 @@ class AsyncTaskQueue {
|
||||
/*!
|
||||
Blocks the caller until all previously-enqueud functions have completed.
|
||||
*/
|
||||
void synchronise();
|
||||
void flush();
|
||||
|
||||
private:
|
||||
std::unique_ptr<std::thread> thread_;
|
||||
|
Reference in New Issue
Block a user