fix botched merge

This commit is contained in:
Akash Mozumdar 2021-06-05 08:50:00 -06:00
parent de3cad37f8
commit 0df2526560

View File

@ -150,12 +150,10 @@ namespace DevTools
CloseHandle(processInfo.hThread);
}
for (int retry = 0; ++retry < 20; Sleep(100))
{
{
try { std::filesystem::remove_all(L"devtoolscache"); break; }
catch (std::filesystem::filesystem_error) { continue; }
}
OnStatusChanged("Stopped");
try { std::filesystem::remove_all(L"devtoolscache"); } catch (std::filesystem::filesystem_error) {}
}
StatusChanged("Stopped");
}