浏览代码

Return in case of exception

Ruben 4 月之前
父节点
当前提交
69e4f98edf
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      src/PicView.Avalonia/Navigation/IPC.cs

+ 1 - 0
src/PicView.Avalonia/Navigation/IPC.cs

@@ -127,6 +127,7 @@ internal static class IPC
             catch (Exception ex)
             {
                 DebugHelper.LogDebug(nameof(IPC), nameof(StartListeningForArguments), ex);
+                return;
             }
         }
         while (true); // Continuously listen for incoming connections