提交 57c3650e 编写于 作者: M Me No Dev 提交者: GitHub

Disconnect WiFiClient on destruct

上级 b82d0e16
...@@ -36,6 +36,7 @@ WiFiClient::WiFiClient(int fd):sockfd(fd),_connected(true),next(NULL) ...@@ -36,6 +36,7 @@ WiFiClient::WiFiClient(int fd):sockfd(fd),_connected(true),next(NULL)
WiFiClient::~WiFiClient() WiFiClient::~WiFiClient()
{ {
stop();
} }
WiFiClient & WiFiClient::operator=(const WiFiClient &other) WiFiClient & WiFiClient::operator=(const WiFiClient &other)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册