PICloudClient now soft stop thread when closed

last cmake changes
This commit is contained in:
2021-08-16 22:30:56 +03:00
parent 97b0b6fc0c
commit 44b9c37391
5 changed files with 24 additions and 4 deletions

View File

@@ -85,6 +85,7 @@ bool PICloudClient::openDevice() {
bool PICloudClient::closeDevice() {
PIThread::stop(false);
if (is_connected) {
is_connected = false;
disconnected();