Skip to content

Commit

Permalink
One more silly mistake haha
Browse files Browse the repository at this point in the history
  • Loading branch information
mhmd-azeez committed Dec 23, 2016
1 parent 11d167f commit 069c893
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion RudeFox.FrontEnd/ApplicationManagement/App.cs
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ internal Task ProcessCommandLineArgs(List<string> args)
{
if (args == null) return null;

Task deleteTask = null;
Task deleteTask = Task.Delay(0); // do nothing
if (args.Count > 1 && args[0].Equals(Constants.SENDTO_PREFIX, StringComparison.InvariantCultureIgnoreCase))
{
args.Remove(Constants.SENDTO_PREFIX);
Expand Down
3 changes: 1 addition & 2 deletions RudeFox.FrontEnd/ApplicationManagement/SingletonManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,7 @@ protected override async void OnStartupNextInstance(StartupNextInstanceEventArgs

App.Instance.Activate();

if (deleteTask != null)
await deleteTask;
await deleteTask;
}

private void InitializeComponents()
Expand Down

0 comments on commit 069c893

Please sign in to comment.