- The thread that holds
s_sharedDataMutexis callingWatchmanConnection::close() WatchmanConnection::close()needs to run something in theEventBaseThread- The
EventBaseThreadis in a callback that's trying to gets_sharedDataMutex - This is a deadlock.