Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Release loop lock before waiting for it to do work (#369)
Main thread can be blocked trying to acquire __loop_from_run_thread_lock while emit_event() in another thread is holding that lock and waiting for the main thread to emit the event. This change releases the lock before blocking. Signed-off-by: Shane Loretz <[email protected]>
- Loading branch information