Moved when sleep is performed when removing controller

This commit is contained in:
Travis Nickles 2018-03-21 01:47:32 -05:00
parent 943b34e07f
commit d91f696b66

View File

@ -704,8 +704,8 @@ namespace DS4Windows
lag[ind] = false;
inWarnMonitor[ind] = false;
useDInputOnly[ind] = true;
System.Threading.Thread.Sleep(XINPUT_UNPLUG_SETTLE_TIME);
OnControllerRemoved(this, ind);
Thread.Sleep(XINPUT_UNPLUG_SETTLE_TIME);
}
}
}