From b1af2b6061ccc1878a34e41eb318fcf918c3eafe Mon Sep 17 00:00:00 2001 From: BadAd84 Date: Sun, 30 May 2021 20:58:08 +0100 Subject: [PATCH] Fix for high cpu usage, issue with loop. (#286) --- MPF.Library/Data/ProcessingQueue.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MPF.Library/Data/ProcessingQueue.cs b/MPF.Library/Data/ProcessingQueue.cs index 9fcf92c5..14878b99 100644 --- a/MPF.Library/Data/ProcessingQueue.cs +++ b/MPF.Library/Data/ProcessingQueue.cs @@ -61,7 +61,7 @@ namespace MPF.Data { if (this.TokenSource.IsCancellationRequested) break; - + System.Threading.Thread.Sleep(10); continue; }