소스 검색

Revert "libobs: Check effect mutex exists before destroying it"

This reverts commit c2c47b1169b272498bdd6ffb1416f6d518200059.
Palana 10 년 전
부모
커밋
f981b58b43
1개의 변경된 파일1개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 2
      libobs/graphics/graphics.c

+ 1 - 2
libobs/graphics/graphics.c

@@ -213,8 +213,7 @@ void gs_destroy(graphics_t *graphics)
 	}
 
 	pthread_mutex_destroy(&graphics->mutex);
-	if (graphics->effect_mutex)
-		pthread_mutex_destroy(&graphics->effect_mutex);
+	pthread_mutex_destroy(&graphics->effect_mutex);
 	da_free(graphics->matrix_stack);
 	da_free(graphics->viewport_stack);
 	da_free(graphics->blend_state_stack);