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 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");