-
Youness Alaoui authored
Do not unlock the mutex when emitting the signal because it might unlock another thread which could cause a race condition. To avoid a deadlock when a signal callback calls an API function that does a g_mutex_lock while the lock is already taken. Change the mutex into a recursive mutex
41961275