Skip to content
Snippets Groups Projects
Commit 784231a6 authored by gaby64's avatar gaby64 Committed by Andy Green
Browse files
parent ba955592
No related branches found
No related tags found
No related merge requests found
...@@ -304,6 +304,11 @@ lws_context_destroy(struct lws_context *context) ...@@ -304,6 +304,11 @@ lws_context_destroy(struct lws_context *context)
protocol++; protocol++;
} }
} }
#ifdef LWS_USE_LIBEV
ev_io_stop(context->io_loop, &context->w_accept.watcher);
if(context->use_ev_sigint)
ev_signal_stop(context->io_loop, &context->w_sigint.watcher);
#endif /* LWS_USE_LIBEV */
lws_plat_context_early_destroy(context); lws_plat_context_early_destroy(context);
lws_ssl_context_destroy(context); lws_ssl_context_destroy(context);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment