forked from Public-Mirror/Textractor
fix botched merge
This commit is contained in:
parent
de3cad37f8
commit
0df2526560
@ -150,12 +150,10 @@ namespace DevTools
|
|||||||
CloseHandle(processInfo.hThread);
|
CloseHandle(processInfo.hThread);
|
||||||
}
|
}
|
||||||
for (int retry = 0; ++retry < 20; Sleep(100))
|
for (int retry = 0; ++retry < 20; Sleep(100))
|
||||||
{
|
{
|
||||||
try { std::filesystem::remove_all(L"devtoolscache"); break; }
|
try { std::filesystem::remove_all(L"devtoolscache"); break; }
|
||||||
catch (std::filesystem::filesystem_error) { continue; }
|
catch (std::filesystem::filesystem_error) { continue; }
|
||||||
}
|
}
|
||||||
OnStatusChanged("Stopped");
|
|
||||||
try { std::filesystem::remove_all(L"devtoolscache"); } catch (std::filesystem::filesystem_error) {}
|
|
||||||
StatusChanged("Stopped");
|
StatusChanged("Stopped");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user