Stop giving ourselves Above Normal priority on Windows

Shikadilord requested this change.
This commit is contained in:
Jyrki Vesterinen 2016-01-19 08:24:50 +02:00
parent 8d2ae80b32
commit 60f1d98c8d

View file

@ -951,7 +951,7 @@ static void restart_process(const std::vector<std::string>& commandline)
ZeroMemory(&process_info, sizeof(process_info));
CreateProcessW(process_path, commandline_c_str, NULL, NULL,
false, ABOVE_NORMAL_PRIORITY_CLASS, NULL, NULL, &startup_info, &process_info);
false, 0u, NULL, NULL, &startup_info, &process_info);
CloseHandle(process_info.hProcess);
CloseHandle(process_info.hThread);