[Common] Removed outdated comment (#12994)

The retry loop has been removed as of https://github.com/microsoft/PowerToys/pull/12860 , but the comment stayed.
This commit is contained in:
Tamás Hegedűs
2021-09-02 16:00:43 +02:00
committed by GitHub
parent f10faf004e
commit 91910b4606

View File

@@ -39,7 +39,6 @@ inline std::wstring get_process_path(HWND window) noexcept
{
// It is a UWP app. We will enumerate the windows and look for one created
// by something with a different PID
// It might take a time to connect the process. That's the reason for the retry loop here
DWORD new_pid = pid;
EnumChildWindows(
@@ -103,4 +102,4 @@ inline std::wstring get_module_folderpath(HMODULE mod = nullptr, const bool remo
PathRemoveFileSpecW(buffer);
}
return { buffer, (UINT)lstrlenW(buffer) };
}
}