Skip to content

Commit

Permalink
[Windows]ウィンドウが閉じるまでに時間がかかるのを修正
Browse files Browse the repository at this point in the history
  • Loading branch information
4ster1sk committed Nov 8, 2024
1 parent bf3277d commit bfd146a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,8 @@ class _MyAppState extends ConsumerState<MyApp>
} catch (e) {
if (kDebugMode) print(e);
} finally {
await windowManager.destroy();
await windowManager.setPreventClose(false);
await windowManager.close();
}
}
}
Expand Down

0 comments on commit bfd146a

Please sign in to comment.