We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d5c43f0 commit dd00db1Copy full SHA for dd00db1
libraries/ESP8266WiFi/src/include/ClientContext.h
@@ -131,6 +131,11 @@ class ClientContext
131
_op_start_time = millis();
132
// This delay will be interrupted by esp_schedule in the connect callback
133
delay(_timeout_ms);
134
+ // WiFi may have vanished during the delay (#4078)
135
+ if (!this || !_pcb) {
136
+ DEBUGV(":vnsh\r\n");
137
+ return 0;
138
+ }
139
_connect_pending = 0;
140
if (state() != ESTABLISHED) {
141
abort();
0 commit comments