diff --git a/DS4Windows/DS4Library/DS4Device.cs b/DS4Windows/DS4Library/DS4Device.cs index dcdc40f..a464a12 100644 --- a/DS4Windows/DS4Library/DS4Device.cs +++ b/DS4Windows/DS4Library/DS4Device.cs @@ -1091,15 +1091,15 @@ namespace DS4Windows error = string.Empty; cState.CopyTo(pState); - } - lock (eventQueueLock) - { - Action tempAct = null; - for (int actInd = 0, actLen = eventQueue.Count; actInd < actLen; actInd++) + lock (eventQueueLock) { - tempAct = eventQueue.Dequeue(); - tempAct.Invoke(); + Action tempAct = null; + for (int actInd = 0, actLen = eventQueue.Count; actInd < actLen; actInd++) + { + tempAct = eventQueue.Dequeue(); + tempAct.Invoke(); + } } } } diff --git a/DS4Windows/Properties/AssemblyInfo.cs b/DS4Windows/Properties/AssemblyInfo.cs index afd7367..bf6edc4 100644 --- a/DS4Windows/Properties/AssemblyInfo.cs +++ b/DS4Windows/Properties/AssemblyInfo.cs @@ -33,7 +33,7 @@ using System.Runtime.InteropServices; // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.5.10")] -[assembly: AssemblyFileVersion("1.5.10")] +[assembly: AssemblyVersion("1.5.11")] +[assembly: AssemblyFileVersion("1.5.11")] [assembly: NeutralResourcesLanguage("en")]