The source project of this merge request has been removed.
Fix race condition in watch_add_notify
watch_add_notify gets the GNode with the cache_lock but then relesaes the cache_lock and acquires message_lock. Before that thread can acquire the message_lock another thread can call watch_remove_notify and remove the same prefix causing the GNode that was returned to thread 1 to be stale/bad.