We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4f9597d commit 894f99bCopy full SHA for 894f99b
hardware/esp8266com/esp8266/libraries/ESP8266WiFi/src/include/ClientContext.h
@@ -94,6 +94,7 @@ class ClientContext {
94
if(--_refcnt == 0) {
95
flush();
96
close();
97
+ if(_discard_cb) _discard_cb(_discard_cb_arg, this);
98
delete this;
99
}
100
@@ -231,7 +232,6 @@ class ClientContext {
231
232
233
if(pb == 0) // connection closed
234
{
- if(_discard_cb) _discard_cb(_discard_cb_arg, this);
235
DEBUGV(":rcla\r\n");
236
return abort();
237
0 commit comments