Просмотр исходного кода

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 лет назад
Родитель
Сommit
7f3d61a35d
1 измененных файлов с 0 добавлено и 1 удалено
  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)
 	if (!dc)
 		return;
 		return;
 
 
-	pthread_mutex_lock(&dc->mutex);
 	gs_entercontext(obs_graphics());
 	gs_entercontext(obs_graphics());
 
 
 	destroy_display_stream(dc);
 	destroy_display_stream(dc);