From b2dc29277195d8e4949aff423de31ee9ebc41b79 Mon Sep 17 00:00:00 2001 From: Sarah Jamie Lewis Date: Wed, 1 Feb 2023 14:04:54 -0800 Subject: [PATCH] Fix Shutdown Logging --- lib/main.dart | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/main.dart b/lib/main.dart index 019ab432..cfbf9dd6 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -64,8 +64,8 @@ class FlwtchState extends State with WindowListener { final GlobalKey navKey = GlobalKey(); Future shutdownDirect(MethodCall call) async { - print(call); - cwtch.Shutdown(); + EnvironmentConfig.debugLog("$call"); + await cwtch.Shutdown(); return Future.value({}); } @@ -194,7 +194,7 @@ class FlwtchState extends State with WindowListener { Future shutdown() async { globalAppState.SetModalState(ModalState.shutdown); - print("shutting down"); + EnvironmentConfig.debugLog("shutting down"); await cwtch.Shutdown(); // Wait a few seconds as shutting down things takes a little time.. {