We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
i have my own signal handler, ev_break wont work untill all watchers have been stopped
diff --git a/lib/context.c b/lib/context.c index 7c73c4b..d377ae1 100644 --- a/lib/context.c +++ b/lib/context.c @@ -302,6 +302,11 @@ lws_context_destroy(struct lws_context *context) 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_ssl_context_destroy(context);
The text was updated successfully, but these errors were encountered:
libev context destroy
d8383ca
#380
It's pushed, thanks.
Sorry, something went wrong.
784231a
No branches or pull requests
i have my own signal handler,
ev_break wont work untill all watchers have been stopped
The text was updated successfully, but these errors were encountered: