test-server-libuv: also call context_destroy2 when using foreign loop
https://github.com/warmcat/libwebsockets/issues/972
This commit is contained in:
parent
c9da1ffa2e
commit
941e93ea33
1 changed files with 3 additions and 0 deletions
|
@ -456,6 +456,9 @@ int main(int argc, char **argv)
|
|||
lwsl_notice("uv loop close rc %s\n",
|
||||
e ? uv_strerror(e) : "ok");
|
||||
|
||||
/* PHASE 4: finalize context destruction */
|
||||
|
||||
lws_context_destroy2(context);
|
||||
} else
|
||||
#endif
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue