From 2f526fa60dd90462da198162669a27335fd634ba Mon Sep 17 00:00:00 2001 From: Travis Nickles Date: Sun, 6 May 2018 21:31:18 -0500 Subject: [PATCH] Remove unneeded call --- DS4Windows/DS4Library/DS4Device.cs | 7 ------- 1 file changed, 7 deletions(-) diff --git a/DS4Windows/DS4Library/DS4Device.cs b/DS4Windows/DS4Library/DS4Device.cs index 9ebf68d..669823b 100644 --- a/DS4Windows/DS4Library/DS4Device.cs +++ b/DS4Windows/DS4Library/DS4Device.cs @@ -792,16 +792,12 @@ namespace DS4Windows } sendOutputReport(true, true); // Kick Windows into noticing the disconnection. - StopOutputUpdate(); isDisconnecting = true; uiContext.Send(new SendOrPostCallback(delegate (object state4) { Removal?.Invoke(this, EventArgs.Empty); }), null); - //System.Threading.Tasks.Task.Factory.StartNew(() => { Removal?.Invoke(this, EventArgs.Empty); }); - //Removal?.Invoke(this, EventArgs.Empty); - timeoutExecuted = true; return; } @@ -832,9 +828,6 @@ namespace DS4Windows Removal?.Invoke(this, EventArgs.Empty); }), null); - //System.Threading.Tasks.Task.Factory.StartNew(() => { Removal?.Invoke(this, EventArgs.Empty); }); - //Removal?.Invoke(this, EventArgs.Empty); - timeoutExecuted = true; return; }