mirror of
https://github.com/intrepidcs/libicsneo.git
synced 2026-08-05 09:28:40 +02:00
Device: Unlock network mutex when going offline
This commit is contained in:
committed by
Kyle Schwarz
parent
4c7b8e107a
commit
f6926cbb22
@@ -613,6 +613,11 @@ bool Device::goOffline() {
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if(assignedClientId.has_value()) {
|
||||||
|
unlockAllNetworks();
|
||||||
|
assignedClientId.reset();
|
||||||
|
}
|
||||||
|
|
||||||
if(!enableNetworkCommunication(false))
|
if(!enableNetworkCommunication(false))
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user