stephb9959
2023-11-30 22:08:25 -08:00
parent 6c13d845f1
commit 8c70ec5280

View File

@@ -209,8 +209,8 @@ namespace OpenWifi {
fmt::format(
"{}: Session seems idle. Controller disconnecting device.",
hint->second->SerialNumber_));
std::lock_guard ConnectionLock(hint->second->ConnectionMutex_);
hint->second->EndConnection();
// std::lock_guard ConnectionLock(hint->second->ConnectionMutex_);
// hint->second->EndConnection();
hint = SerialNumbers_[hashIndex].erase(hint);
} else if (hint->second->State_.Connected) {
NumberOfConnectedDevices_++;