mirror of
https://github.com/TomHarte/CLK.git
synced 2024-11-26 08:49:37 +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() {
|
AsyncTaskQueue::~AsyncTaskQueue() {
|
||||||
#ifdef __APPLE__
|
#ifdef __APPLE__
|
||||||
dispatch_release(serial_dispatch_queue_);
|
dispatch_release(serial_dispatch_queue_);
|
||||||
|
serial_dispatch_queue_ = nullptr;
|
||||||
#else
|
#else
|
||||||
should_destruct_ = true;
|
should_destruct_ = true;
|
||||||
enqueue([](){});
|
enqueue([](){});
|
||||||
|
Loading…
Reference in New Issue
Block a user