Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Properly handle the close of run loop on macOS (#522)
- as per documentation `kCFRunLoopRunStopped` should be handled once the runloop is closed via `CFRunLoopStop`; - if it is not handled - a race condition/crash may happen on the latest macOS when a device gets disconnected while being open;
- Loading branch information