From 46227e21ded9a994f0c7960ee2a2f9b27da19142 Mon Sep 17 00:00:00 2001 From: David Cermak Date: Wed, 9 Nov 2022 17:55:41 +0100 Subject: [PATCH] Fixes d058bbbe to unref socket for both core-lock configs --- src/api/sockets.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api/sockets.c b/src/api/sockets.c index 2d4c9b4a..5f2382cd 100644 --- a/src/api/sockets.c +++ b/src/api/sockets.c @@ -2675,10 +2675,10 @@ again: last_select_cb_ctr = select_cb_ctr; } SYS_ARCH_UNPROTECT(lev); +#endif /* LWIP_TCPIP_CORE_LOCKING */ #if ESP_LWIP done_socket(sock); #endif /* ESP_LWIP */ -#endif } #endif /* LWIP_SOCKET_SELECT || LWIP_SOCKET_POLL */