We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7a84cd9 commit 5506512Copy full SHA for 5506512
src/libirecovery.c
@@ -3114,6 +3114,7 @@ irecv_error_t irecv_device_event_unsubscribe(irecv_device_event_context_t contex
3114
if (num == 0 && th_event_handler != THREAD_T_NULL && thread_alive(th_event_handler)) {
3115
#ifdef HAVE_IOKIT
3116
if (iokit_runloop) {
3117
+ while (!CFRunLoopIsWaiting(iokit_runloop)) usleep(420);
3118
CFRunLoopStop(iokit_runloop);
3119
iokit_runloop = NULL;
3120
}
0 commit comments