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:
parent
46c925e3b7
commit
9e10442103
1 changed files with 1 additions and 0 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Reference in a new issue