context destroy just kill wsis ugh add missing bit
Unsaved file... Signed-off-by: Andy Green <andy.green@linaro.org>
This commit is contained in:
parent
45a04b6240
commit
bddb3dcce9
1 changed files with 1 additions and 1 deletions
|
@ -310,7 +310,7 @@ libwebsocket_context_destroy(struct libwebsocket_context *context)
|
|||
if (!wsi)
|
||||
continue;
|
||||
libwebsocket_close_and_free_session(context,
|
||||
wsi, LWS_CLOSE_STATUS_NOSTATUS /* no protocol close */);
|
||||
wsi, LWS_CLOSE_STATUS_NOSTATUS_CONTEXT_DESTROY /* no protocol close */);
|
||||
n--;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue