mirror of
https://github.com/cemu-project/DS4Windows.git
synced 2024-11-22 17:29:18 +01:00
Add delay to background process start
This commit is contained in:
parent
033e3f0c29
commit
688c5348e2
@ -129,6 +129,11 @@ namespace DS4WinWPF.DS4Forms
|
|||||||
CheckDrivers();
|
CheckDrivers();
|
||||||
if (!parser.Stop)
|
if (!parser.Stop)
|
||||||
{
|
{
|
||||||
|
Dispatcher.BeginInvoke((Action)(() =>
|
||||||
|
{
|
||||||
|
StartStopBtn.IsEnabled = false;
|
||||||
|
}));
|
||||||
|
Thread.Sleep(500);
|
||||||
App.rootHub.Start();
|
App.rootHub.Start();
|
||||||
//root.rootHubtest.Start();
|
//root.rootHubtest.Start();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user