Bug 1872543 - Fixed tab freeze due to getLaunchOnLoginShortcuts r=nalexander,mhughes

Differential Revision: https://phabricator.services.mozilla.com/D197590
This commit is contained in:
Nipun Shukla
2024-01-03 22:59:55 +00:00
parent e976fa1b8c
commit 1c8adb5195
2 changed files with 6 additions and 8 deletions

View File

@@ -987,10 +987,6 @@ nsWindowsShellService::GetLaunchOnLoginShortcuts(
if (NS_WARN_IF(FAILED(hr))) {
continue;
}
hr = link->Resolve(nullptr, SLR_NO_UI);
if (NS_WARN_IF(FAILED(hr))) {
continue;
}
hr = link->GetPath(target.get(), MAX_PATH, nullptr, 0);
if (NS_WARN_IF(FAILED(hr))) {
continue;