Skip to content

Commit

Permalink
Merge pull request #2891 from daxgames/rem_race
Browse files Browse the repository at this point in the history
Remove Cmder.exe race condition
  • Loading branch information
DRSDavidSoft authored Nov 9, 2023
2 parents 8b6add7 + 8d916a4 commit 50bc05f
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions launcher/src/CmderLauncher.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -469,9 +469,6 @@ void StartCmder(std::wstring path = L"", bool is_single_mode = false, std::wstr
MessageBox(NULL, _T("Unable to create the ConEmu process!"), _T("Error"), MB_OK);
return;
}

LRESULT lr = SendMessageTimeout(HWND_BROADCAST, WM_SETTINGCHANGE, 0, (LPARAM)"Environment", SMTO_ABORTIFHUNG | SMTO_NOTIMEOUTIFNOTHUNG, 5000, NULL);
lr = SendMessageTimeout(HWND_BROADCAST, WM_SETTINGCHANGE, 0, (LPARAM)L"Environment", SMTO_ABORTIFHUNG | SMTO_NOTIMEOUTIFNOTHUNG, 5000, NULL); // For Windows >= 8
}

bool IsUserOnly(std::wstring opt)
Expand Down

0 comments on commit 50bc05f

Please sign in to comment.