test-server-libuv: add missing call to lws_context_destroy2()
authorAndy Green <andy@warmcat.com>
Wed, 28 Jun 2017 03:21:03 +0000 (11:21 +0800)
committerAndy Green <andy@warmcat.com>
Wed, 28 Jun 2017 03:37:15 +0000 (11:37 +0800)
test-server/test-server-libuv.c

index cf8d7556bf4d6260acf301177451640a15e22e0d..bf6c90aa66e82b3c3ab4155f3366ab0af224b57e 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");