mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-12-28 18:16:13 +00:00
Fix bug #49778: sntp_stop does not cancel all timers
Patch by Ari Suutari
This commit is contained in:
parent
cb29a49a64
commit
e00a131160
@ -573,6 +573,7 @@ sntp_stop(void)
|
||||
{
|
||||
if (sntp_pcb != NULL) {
|
||||
sys_untimeout(sntp_request, NULL);
|
||||
sys_untimeout(sntp_try_next_server, NULL);
|
||||
udp_remove(sntp_pcb);
|
||||
sntp_pcb = NULL;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user