Skip to content
This repository has been archived by the owner on Jan 1, 2024. It is now read-only.

Commit

Permalink
Added task logging to resume method
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryochan7 committed May 4, 2023
1 parent b4fa93c commit 835600c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion DS4Windows/DS4Forms/MainWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -492,10 +492,13 @@ private void PowerEventArrive(object sender, EventArrivedEventArgs e)
//Thread.Sleep(60000);
//App.rootHub.Start();

Task.Delay(120000).ContinueWith(t =>
Task startupTask = Task.Delay(120000).ContinueWith(t =>
{
App.rootHub.Start();
});

// Log exceptions that might occur
Util.LogAssistBackgroundTask(startupTask);
}
}

Expand Down

0 comments on commit 835600c

Please sign in to comment.