From d591ec7f69a94f79a4a4e5d73c0a6211698c0151 Mon Sep 17 00:00:00 2001 From: Xjph Date: Sun, 6 Jun 2021 10:35:50 -0230 Subject: [PATCH] Notify workers when read all process is finished. --- ObservatoryCore/UI/ViewModels/CoreViewModel.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ObservatoryCore/UI/ViewModels/CoreViewModel.cs b/ObservatoryCore/UI/ViewModels/CoreViewModel.cs index 1499740..9b57950 100644 --- a/ObservatoryCore/UI/ViewModels/CoreViewModel.cs +++ b/ObservatoryCore/UI/ViewModels/CoreViewModel.cs @@ -61,6 +61,10 @@ namespace Observatory.UI.ViewModels worker.ReadAllStarted(); } LogMonitor.GetInstance.ReadAllJournals(); + foreach (var worker in workers) + { + worker.ReadAllFinished(); + } } public void ToggleMonitor()