ssl destroy: change ordering of ssl destroy to later than vhost destroy
https://github.com/warmcat/libwebsockets/issues/711
This commit is contained in:
parent
04fee5f75f
commit
e618359d4f
1 changed files with 1 additions and 1 deletions
|
@ -891,7 +891,6 @@ lws_context_destroy(struct lws_context *context)
|
|||
lws_free(pt->http_header_data);
|
||||
}
|
||||
lws_plat_context_early_destroy(context);
|
||||
lws_ssl_context_destroy(context);
|
||||
|
||||
if (context->pt[0].fds)
|
||||
lws_free_set_NULL(context->pt[0].fds);
|
||||
|
@ -935,6 +934,7 @@ lws_context_destroy(struct lws_context *context)
|
|||
vh = vh1;
|
||||
}
|
||||
|
||||
lws_ssl_context_destroy(context);
|
||||
lws_plat_context_late_destroy(context);
|
||||
|
||||
lws_free(context);
|
||||
|
|
Loading…
Add table
Reference in a new issue