Add task delay back in for hotplug routine

This commit is contained in:
Travis Nickles 2017-05-01 18:32:23 -07:00
parent 400ba4f293
commit 5dca9d5dbb

View File

@ -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); } });