Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Avoid panic when using a released CFRunLoop
As fsevents is saving the result of `CFRunLoopGetCurrent` and stopping it from a separate thread, it's necessary to increase the reference count of the returned CFRunLoopRef. In the event that the run loop is terminated by other means, `stop` might be working with a deallocated reference and produce a panic (SIGSEGV). closes #39
- Loading branch information