mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-09 00:00:04 +01:00
sspc: make sure we cancel any retry
This commit is contained in:
parent
3ca8625129
commit
ad5047a687
1 changed files with 2 additions and 0 deletions
|
@ -664,6 +664,8 @@ lws_sspc_destroy(lws_sspc_handle_t **ph)
|
|||
lws_sspc_event_helper(h, LWSSSCS_DESTROYING, 0);
|
||||
*ph = NULL;
|
||||
|
||||
lws_sul_cancel(&h->sul_retry);
|
||||
|
||||
__lws_lc_untag(&h->lc);
|
||||
free(h);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue