[darwin] use CFRunLoopSourceInvalidate() to also cancel any pending AsyncTask invocations
This commit is contained in:
@@ -29,7 +29,7 @@ public:
|
||||
}
|
||||
|
||||
~Impl() {
|
||||
CFRunLoopRemoveSource(loop, source, kCFRunLoopDefaultMode);
|
||||
CFRunLoopSourceInvalidate(source);
|
||||
CFRelease(source);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user