mirror of
https://github.com/TomHarte/CLK.git
synced 2024-11-22 12:33:29 +00:00
Added an explicit nilling, to help with debugging.
This commit is contained in:
parent
1011143dbe
commit
ea64125124
@ -46,6 +46,7 @@ AsyncTaskQueue::AsyncTaskQueue()
|
||||
AsyncTaskQueue::~AsyncTaskQueue() {
|
||||
#ifdef __APPLE__
|
||||
dispatch_release(serial_dispatch_queue_);
|
||||
serial_dispatch_queue_ = nullptr;
|
||||
#else
|
||||
should_destruct_ = true;
|
||||
enqueue([](){});
|
||||
|
Loading…
Reference in New Issue
Block a user