[ANDROID] Fix pthread_mutex_destroy called on destroyed mutex (#909)

This commit is contained in:
KreitinnSoftware 2023-12-09 17:15:16 -03:00 committed by GitHub
parent d4f7ec6ee4
commit 339af4a13e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -392,7 +392,9 @@ void FreeBox86Context(box86context_t** context)
pthread_mutex_destroy(&ctx->mutex_tls);
pthread_mutex_destroy(&ctx->mutex_thread);
pthread_mutex_destroy(&ctx->mutex_bridge);
#ifndef ANDROID
pthread_mutex_destroy(&ctx->mutex_lock);
#endif
#endif
freeCycleLog(ctx);