Device: Unlock network mutex when going offline
parent
4c7b8e107a
commit
f6926cbb22
|
|
@ -613,6 +613,11 @@ bool Device::goOffline() {
|
|||
return true;
|
||||
}
|
||||
|
||||
if(assignedClientId.has_value()) {
|
||||
unlockAllNetworks();
|
||||
assignedClientId.reset();
|
||||
}
|
||||
|
||||
if(!enableNetworkCommunication(false))
|
||||
return false;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue