mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-30 00:00:16 +01:00
pthreads: fix context destroy api ref
This commit is contained in:
parent
d58d749b30
commit
1e7f5b5b2b
1 changed files with 1 additions and 1 deletions
|
@ -1790,7 +1790,7 @@ lws_context_destroy2(struct lws_context *context)
|
||||||
lws_check_deferred_free(context, 1);
|
lws_check_deferred_free(context, 1);
|
||||||
|
|
||||||
#if LWS_MAX_SMP > 1
|
#if LWS_MAX_SMP > 1
|
||||||
pthread_mutex_destroy(&context->lock, NULL);
|
pthread_mutex_destroy(&context->lock);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
lws_free(context);
|
lws_free(context);
|
||||||
|
|
Loading…
Add table
Reference in a new issue