Fix Shutdown Logging
continuous-integration/drone/pr Build was killed Details

This commit is contained in:
Sarah Jamie Lewis 2023-02-01 14:04:54 -08:00
parent 5232e13d95
commit b2dc292771
1 changed files with 3 additions and 3 deletions

View File

@ -64,8 +64,8 @@ class FlwtchState extends State<Flwtch> with WindowListener {
final GlobalKey<NavigatorState> navKey = GlobalKey<NavigatorState>();
Future<dynamic> 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<Flwtch> with WindowListener {
Future<void> 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..
{