Fix frozen shutdown for Linux
This commit is contained in:
parent
af5ae8b5b1
commit
eac763ee61
2 changed files with 2 additions and 2 deletions
|
@ -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 );
|
||||
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue