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

sul: add clear advice for zombie suls

This commit is contained in:
Andy Green 2022-03-14 09:48:23 +00:00
parent 995a759184
commit 02f7e06776

View file

@ -146,6 +146,12 @@ __lws_sul_service_ripe(lws_dll2_owner_t *own, int own_len, lws_usec_t usnow)
/* his moment has come... remove him from his owning list */
if (!hit->cb) {
lwsl_err("%s: sul with NULL callback (did not cancel on destory?)\n", __func__);
return 0;
}
lws_dll2_remove(&hit->list);
hit->us = 0;