picloud patch

This commit is contained in:
2021-08-12 19:50:17 +03:00
parent ca09b9d14b
commit f8818c8537
5 changed files with 37 additions and 18 deletions

View File

@@ -130,7 +130,7 @@ void PICloudClient::_readed(PIByteArray & ba) {
break;
case PICloud::TCP::Disconnect:
is_connected = false;
eth.stop();
static_cast<PIThread*>(&eth)->stop();
eth.close();
disconnected();
break;