diff --git a/EDJournalWatcher/Program.cs b/EDJournalWatcher/Program.cs index e9f9770..0742e65 100644 --- a/EDJournalWatcher/Program.cs +++ b/EDJournalWatcher/Program.cs @@ -12,6 +12,7 @@ public class Program { while (true) { stream.ProcessQueues(); + Thread.Sleep(100); } } diff --git a/EDPlayerJournal/JournalStream.cs b/EDPlayerJournal/JournalStream.cs index 3832a58..bff6731 100644 --- a/EDPlayerJournal/JournalStream.cs +++ b/EDPlayerJournal/JournalStream.cs @@ -20,7 +20,6 @@ public class SyncQueue { if (Monitor.TryEnter(queue)) { T retval; - Monitor.Enter(queue); try { queue.TryDequeue(out retval); } finally {