1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-09 00:00:04 +01:00

ss: clean up wsi when handling DESTROY_ME

This commit is contained in:
Andy Green 2020-12-15 11:32:46 +00:00
parent e8420f31e8
commit 8312ff499e

View file

@ -1095,7 +1095,7 @@ lws_ss_to_cb(lws_sorted_usec_list_t *sul)
if (h->wsi)
lws_set_timeout(h->wsi, 1, LWS_TO_KILL_ASYNC);
_lws_ss_handle_state_ret(r, NULL, &h);
_lws_ss_handle_state_ret(r, h->wsi, &h);
}
void