From fab47270a34dd49b40e27615e21216a1d9f6e197 Mon Sep 17 00:00:00 2001 From: artman41 Date: Thu, 17 May 2018 17:05:47 +0100 Subject: [PATCH] Added sleeping to thread to reduce CPU usage --- IPA/Properties/AssemblyInfo.cs | 4 ++-- IllusionPlugin/Logger.cs | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/IPA/Properties/AssemblyInfo.cs b/IPA/Properties/AssemblyInfo.cs index b77beddf..9aecbdde 100644 --- a/IPA/Properties/AssemblyInfo.cs +++ b/IPA/Properties/AssemblyInfo.cs @@ -32,5 +32,5 @@ 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("3.7.1")] -[assembly: AssemblyFileVersion("3.7.1")] +[assembly: AssemblyVersion("3.7.2")] +[assembly: AssemblyFileVersion("3.7.2")] diff --git a/IllusionPlugin/Logger.cs b/IllusionPlugin/Logger.cs index 1865cdd4..cf6b2e1b 100644 --- a/IllusionPlugin/Logger.cs +++ b/IllusionPlugin/Logger.cs @@ -86,6 +86,7 @@ namespace IllusionPlugin { _watcherThread.IsBackground = true; } } + Thread.Sleep(5); } void Start() => _watcherThread.Start();