Add delay to background process start

This commit is contained in:
Travis Nickles 2020-04-01 21:34:20 -05:00
parent 033e3f0c29
commit 688c5348e2

View File

@ -129,6 +129,11 @@ namespace DS4WinWPF.DS4Forms
CheckDrivers();
if (!parser.Stop)
{
Dispatcher.BeginInvoke((Action)(() =>
{
StartStopBtn.IsEnabled = false;
}));
Thread.Sleep(500);
App.rootHub.Start();
//root.rootHubtest.Start();
}