Browse Source

Added sleeping to thread to reduce CPU usage

pull/46/head
artman41 6 years ago
parent
commit
fab47270a3
2 changed files with 3 additions and 2 deletions
  1. +2
    -2
      IPA/Properties/AssemblyInfo.cs
  2. +1
    -0
      IllusionPlugin/Logger.cs

+ 2
- 2
IPA/Properties/AssemblyInfo.cs View File

@ -32,5 +32,5 @@ using System.Runtime.InteropServices;
// You can specify all the values or you can default the Build and Revision Numbers // You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below: // by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")] // [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("3.7.1")]
[assembly: AssemblyFileVersion("3.7.1")]
[assembly: AssemblyVersion("3.7.2")]
[assembly: AssemblyFileVersion("3.7.2")]

+ 1
- 0
IllusionPlugin/Logger.cs View File

@ -86,6 +86,7 @@ namespace IllusionPlugin {
_watcherThread.IsBackground = true; _watcherThread.IsBackground = true;
} }
} }
Thread.Sleep(5);
} }
void Start() => _watcherThread.Start(); void Start() => _watcherThread.Start();


Loading…
Cancel
Save