Newer
Older
if (context->event_loop_ops->destroy_context1) {
context->event_loop_ops->destroy_context1(context);
lws_context_destroy2(context);
if (context->event_loop_ops->destroy_context1) {
context->event_loop_ops->destroy_context1(context);
lws_context_destroy2(context);