From d91f696b661e9388bff7446dba35d4428aecbfe3 Mon Sep 17 00:00:00 2001 From: Travis Nickles Date: Wed, 21 Mar 2018 01:47:32 -0500 Subject: [PATCH] Moved when sleep is performed when removing controller --- DS4Windows/DS4Control/ControlService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DS4Windows/DS4Control/ControlService.cs b/DS4Windows/DS4Control/ControlService.cs index 08696de..3882e13 100644 --- a/DS4Windows/DS4Control/ControlService.cs +++ b/DS4Windows/DS4Control/ControlService.cs @@ -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); } } }