Skip to content

Commit f337d88

Browse files
committed
Remove useless codes
1 parent 854cc69 commit f337d88

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

Flow.Launcher.Infrastructure/QuickSwitch/QuickSwitch.cs

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -410,22 +410,6 @@ private static void DestroyChangeCallback(
410410
uint dwmsEventTime
411411
)
412412
{
413-
try
414-
{
415-
// If the explorer window is destroyed, set _lastExplorerView to null
416-
lock (_lastExplorerViewLock)
417-
{
418-
if (_lastExplorerView != null && _lastExplorerView.HWND == hwnd.Value)
419-
{
420-
_lastExplorerView = null;
421-
}
422-
}
423-
}
424-
catch (COMException)
425-
{
426-
// Ignored
427-
}
428-
429413
// If the dialog window is destroyed, set _dialogWindowHandle to null
430414
if (_dialogWindowHandle != HWND.Null && _dialogWindowHandle == hwnd)
431415
{

0 commit comments

Comments
 (0)