test-server-libuv: add missing call to lws_context_destroy2()
[platform/upstream/libwebsockets.git] / test-server / test-server-libuv.c
index cf8d755..bf6c90a 100644 (file)
@@ -463,6 +463,7 @@ int main(int argc, char **argv)
 
 bail:
                lws_context_destroy(context);
+               lws_context_destroy2(context);
        }
 
        lwsl_notice("libwebsockets-test-server exited cleanly\n");