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

ws-client-binance: make sure to cancel the sul on wsi close

This commit is contained in:
Andy Green 2021-01-18 20:50:03 +00:00
parent 46c925e3b7
commit 9e10442103

View file

@ -296,6 +296,7 @@ callback_minimal(struct lws *wsi, enum lws_callback_reasons reason,
break;
case LWS_CALLBACK_CLIENT_CLOSED:
lws_sul_cancel(&mco->sul_hz);
goto do_retry;
default: