mirror of
https://github.com/cemu-project/DS4Windows.git
synced 2025-01-23 13:41:15 +01:00
Add task delay back in for hotplug routine
This commit is contained in:
parent
400ba4f293
commit
5dca9d5dbb
@ -977,6 +977,9 @@ namespace DS4Windows
|
||||
|
||||
protected async void InnerHotplug2()
|
||||
{
|
||||
|
||||
await System.Threading.Tasks.Task.Delay(50);
|
||||
|
||||
if (inHotPlug)
|
||||
{
|
||||
await System.Threading.Tasks.Task.Run(() => { while (inHotPlug) { System.Threading.Thread.Sleep(50); } });
|
||||
|
Loading…
x
Reference in New Issue
Block a user