diff --git a/test-server/test-server-libuv.c b/test-server/test-server-libuv.c index bf6c90aa..df8a6849 100644 --- a/test-server/test-server-libuv.c +++ b/test-server/test-server-libuv.c @@ -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 {