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

This reverts commit c2c47b1169.
master
Palana 2015-05-16 22:10:15 +02:00
parent c2c47b1169
commit f981b58b43
1 changed files with 1 additions and 2 deletions

View File

@ -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);