Disconnect WiFiClient on destruct
This commit is contained in:
parent
b82d0e166a
commit
57c3650ea2
1 changed files with 1 additions and 0 deletions
|
|
@ -36,6 +36,7 @@ WiFiClient::WiFiClient(int fd):sockfd(fd),_connected(true),next(NULL)
|
|||
|
||||
WiFiClient::~WiFiClient()
|
||||
{
|
||||
stop();
|
||||
}
|
||||
|
||||
WiFiClient & WiFiClient::operator=(const WiFiClient &other)
|
||||
|
|
|
|||
Loading…
Reference in a new issue