The noit_check_resolver_init() function was calling a function that could try to take a lock that the function already holds, leading to deadlock. Added a new, simple helper function to add the offending locking call to the event loop without calling it first, preventing the deadlock.
The noit_check_resolver_init() function was calling a function that could try to take a lock that the function already holds, leading to deadlock. Added a new, simple helper function to add the offending locking call to the event loop without calling it first, preventing the deadlock.