mirror of
https://github.com/esp8266/Arduino.git
synced 2025-04-19 23:22:16 +03:00
fixed crash in mDNS destructor (#2389)
This commit is contained in:
parent
8cd331a8ba
commit
4ececda82b
@ -140,6 +140,10 @@ MDNSResponder::~MDNSResponder() {
|
||||
answer = 0;
|
||||
}
|
||||
_answers = 0;
|
||||
|
||||
if (_conn) {
|
||||
_conn->unref();
|
||||
}
|
||||
}
|
||||
|
||||
bool MDNSResponder::begin(const char* hostName){
|
||||
|
Loading…
x
Reference in New Issue
Block a user