diff --git a/EllieHub/Features/AppWindow/Views/Windows/AppView.axaml.cs b/EllieHub/Features/AppWindow/Views/Windows/AppView.axaml.cs index fa56a81..f7ae942 100644 --- a/EllieHub/Features/AppWindow/Views/Windows/AppView.axaml.cs +++ b/EllieHub/Features/AppWindow/Views/Windows/AppView.axaml.cs @@ -164,7 +164,7 @@ public partial class AppView : ReactiveWindow { // When the updater is closed, kill all bots and write their logs. _botOrchestrator.StopAllBots(); - _logWriter.FlushAllAsync(true).Wait(); + await _logWriter.FlushAllAsync(true); } catch (Exception ex) {