1
0
Fork 0

Fix frozen shutdown for Linux

This commit is contained in:
Clément de l'Hamaide 2013-12-26 15:36:08 +01:00
parent af5ae8b5b1
commit eac763ee61
2 changed files with 2 additions and 2 deletions

View file

@ -799,7 +799,7 @@ static void Terminate( struct PaUtilHostApiRepresentation *hostApi )
ASSERT_CALL( jack_deactivate( jackHostApi->jack_client ), 0 );
ASSERT_CALL( pthread_mutex_destroy( &jackHostApi->mtx ), 0 );
ASSERT_CALL( pthread_cond_destroy( &jackHostApi->cond ), 0 );
//ASSERT_CALL( pthread_cond_destroy( &jackHostApi->cond ), 0 );
ASSERT_CALL( jack_client_close( jackHostApi->jack_client ), 0 );

View file

@ -388,7 +388,7 @@ PaError PaUnixThread_Terminate( PaUnixThread* self, int wait, PaError* exitResul
error:
PA_ASSERT_CALL( PaUnixMutex_Terminate( &self->mtx ), paNoError );
PA_ASSERT_CALL( pthread_cond_destroy( &self->cond ), 0 );
//PA_ASSERT_CALL( pthread_cond_destroy( &self->cond ), 0 );
return result;
}