Call StopUpdate for normal device removal when stopping DS4Windows

This commit is contained in:
Travis Nickles 2018-02-21 01:30:36 -06:00
parent 55890cfc81
commit 387c137c8c

View File

@ -252,6 +252,7 @@ namespace DS4Windows
DS4LightBar.defaultLight = true; DS4LightBar.defaultLight = true;
DS4LightBar.updateLightBar(DS4Controllers[i], i); DS4LightBar.updateLightBar(DS4Controllers[i], i);
tempDevice.IsRemoved = true; tempDevice.IsRemoved = true;
tempDevice.StopUpdate();
Thread.Sleep(50); Thread.Sleep(50);
} }