mirror of
https://github.com/esp8266/Arduino.git
synced 2025-06-16 11:21:18 +03:00
Release referenced resources in the destructor for ESP8266SSDP (#5607)
* Release referenced resources in destructor * Release referenced resources in destructor, corrected for IPV6 * Release referenced resources in destructor, per suggested changes
This commit is contained in:
@ -61,6 +61,7 @@ class SSDPClass{
|
||||
SSDPClass();
|
||||
~SSDPClass();
|
||||
bool begin();
|
||||
void end();
|
||||
void schema(WiFiClient client);
|
||||
void setDeviceType(const String& deviceType) { setDeviceType(deviceType.c_str()); }
|
||||
void setDeviceType(const char *deviceType);
|
||||
@ -95,6 +96,7 @@ class SSDPClass{
|
||||
void _send(ssdp_method_t method);
|
||||
void _update();
|
||||
void _startTimer();
|
||||
void _stopTimer();
|
||||
static void _onTimerStatic(SSDPClass* self);
|
||||
|
||||
UdpContext* _server;
|
||||
|
Reference in New Issue
Block a user