File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed
RudeFox.FrontEnd/ApplicationManagement Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff 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 ) ;
Original file line number Diff line number Diff 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 ( )
You can’t perform that action at this time.
0 commit comments