Kaynağa Gözat

Fix an issue with display capture shutdown

Holding the lock in destroy_display_stream can result in a deadlock in
display_stream_update since cb4595e512ca68526c7b44b73ef6d2708c8ab96a
Palana 11 yıl önce
ebeveyn
işleme
7f3d61a35d
1 değiştirilmiş dosya ile 0 ekleme ve 1 silme
  1. 0 1
      test/test-input/test-desktop.m

+ 0 - 1
test/test-input/test-desktop.m

@@ -63,7 +63,6 @@ static void display_capture_destroy(void *data)
 	if (!dc)
 		return;
 
-	pthread_mutex_lock(&dc->mutex);
 	gs_entercontext(obs_graphics());
 
 	destroy_display_stream(dc);