stephb9959
2023-11-29 22:18:58 -08:00
parent 142bc4f271
commit 1778912264
2 changed files with 7 additions and 5 deletions

View File

@@ -175,10 +175,12 @@ namespace OpenWifi {
}
if(GetBoolParameter("simulatedDevices",false)) {
if(StorageService()->DeleteSimulatedDevice("")) {
return OK();
}
return NotFound();
auto F = []() ->void {
StorageService()->DeleteSimulatedDevice("");
};
std::thread T(F);
T.detach();
return OK();
}
if(!QB_.Select.empty() && !Utils::ValidSerialNumbers(QB_.Select)) {