Search improvements
This commit is contained in:
@@ -753,8 +753,10 @@ LRESULT CALLBACK window_proc(HWND window, UINT message, WPARAM wparam, LPARAM lp
|
||||
close_process_handles();
|
||||
|
||||
if (!g_stop_file.empty()) {
|
||||
std::error_code remove_error;
|
||||
fs::remove(g_stop_file, remove_error);
|
||||
if (exit_code == 0) {
|
||||
std::error_code remove_error;
|
||||
fs::remove(g_stop_file, remove_error);
|
||||
}
|
||||
g_stop_file.clear();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user