Make sure to stop USB controller while suspending

Related to issue #595
This commit is contained in:
Travis Nickles 2019-03-03 19:27:57 -06:00
parent 425b1dd47a
commit 6533585a07

View File

@ -510,6 +510,10 @@ namespace DS4Windows
tempDevice.StopUpdate(); tempDevice.StopUpdate();
tempDevice.DisconnectDongle(true); tempDevice.DisconnectDongle(true);
} }
else
{
tempDevice.StopUpdate();
}
} }
else else
{ {