PICloudClient now soft stop thread when closed
last cmake changes
This commit is contained in:
@@ -85,6 +85,7 @@ bool PICloudClient::openDevice() {
|
||||
|
||||
|
||||
bool PICloudClient::closeDevice() {
|
||||
PIThread::stop(false);
|
||||
if (is_connected) {
|
||||
is_connected = false;
|
||||
disconnected();
|
||||
|
||||
Reference in New Issue
Block a user