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

freertos: check for forcing each time around service loop

https://github.com/warmcat/libwebsockets/issues/2325
This commit is contained in:
RobHap 2021-06-16 05:55:36 +01:00 committed by Andy Green
parent cd87bc1cbe
commit d896d40156

View file

@ -99,9 +99,9 @@ _lws_plat_service_tsi(struct lws_context *context, int timeout_ms, int tsi)
/*
* is there anybody with pending stuff that needs service forcing?
*/
again:
if (lws_service_adjust_timeout(context, 1, tsi)) {
again:
a = 0;
if (timeout_us) {
lws_usec_t us;