projects
/
platform
/
upstream
/
libwebsockets.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c9da1ff
)
test-server-libuv: also call context_destroy2 when using foreign loop
author
Andy Green
<andy@warmcat.com>
Fri, 21 Jul 2017 03:09:03 +0000
(11:09 +0800)
committer
Andy Green
<andy@warmcat.com>
Fri, 21 Jul 2017 03:09:03 +0000
(11:09 +0800)
https://github.com/warmcat/libwebsockets/issues/972
test-server/test-server-libuv.c
patch
|
blob
|
history
diff --git
a/test-server/test-server-libuv.c
b/test-server/test-server-libuv.c
index
bf6c90a
..
df8a684
100644
(file)
--- 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
{