Skip to content

Commit 069c893

Browse files
committed
One more silly mistake haha
1 parent 11d167f commit 069c893

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

RudeFox.FrontEnd/ApplicationManagement/App.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ internal Task ProcessCommandLineArgs(List<string> args)
104104
{
105105
if (args == null) return null;
106106

107-
Task deleteTask = null;
107+
Task deleteTask = Task.Delay(0); // do nothing
108108
if (args.Count > 1 && args[0].Equals(Constants.SENDTO_PREFIX, StringComparison.InvariantCultureIgnoreCase))
109109
{
110110
args.Remove(Constants.SENDTO_PREFIX);

RudeFox.FrontEnd/ApplicationManagement/SingletonManager.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,7 @@ protected override async void OnStartupNextInstance(StartupNextInstanceEventArgs
3535

3636
App.Instance.Activate();
3737

38-
if (deleteTask != null)
39-
await deleteTask;
38+
await deleteTask;
4039
}
4140

4241
private void InitializeComponents()

0 commit comments

Comments
 (0)