mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-09 00:00:04 +01:00
pthread: fix destroy call
https://github.com/warmcat/libwebsockets/issues/1172
This commit is contained in:
parent
1511ce225f
commit
4c299ad4a8
1 changed files with 1 additions and 1 deletions
|
@ -1621,7 +1621,7 @@ lws_context_destroy2(struct lws_context *context)
|
|||
lws_check_deferred_free(context, 1);
|
||||
|
||||
#if LWS_MAX_SMP > 1
|
||||
pthread_mutex_destroy(&context->lock, NULL);
|
||||
pthread_mutex_destroy(&context->lock);
|
||||
#endif
|
||||
|
||||
lws_free(context);
|
||||
|
|
Loading…
Add table
Reference in a new issue