Skip to content

Commit 50bc05f

Browse files
authored
Merge pull request #2891 from daxgames/rem_race
Remove Cmder.exe race condition
2 parents 8b6add7 + 8d916a4 commit 50bc05f

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

launcher/src/CmderLauncher.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -469,9 +469,6 @@ void StartCmder(std::wstring path = L"", bool is_single_mode = false, std::wstr
469469
MessageBox(NULL, _T("Unable to create the ConEmu process!"), _T("Error"), MB_OK);
470470
return;
471471
}
472-
473-
LRESULT lr = SendMessageTimeout(HWND_BROADCAST, WM_SETTINGCHANGE, 0, (LPARAM)"Environment", SMTO_ABORTIFHUNG | SMTO_NOTIMEOUTIFNOTHUNG, 5000, NULL);
474-
lr = SendMessageTimeout(HWND_BROADCAST, WM_SETTINGCHANGE, 0, (LPARAM)L"Environment", SMTO_ABORTIFHUNG | SMTO_NOTIMEOUTIFNOTHUNG, 5000, NULL); // For Windows >= 8
475472
}
476473

477474
bool IsUserOnly(std::wstring opt)

0 commit comments

Comments
 (0)