Skip to content

Commit

Permalink
Exit the program when closing the window (#207)
Browse files Browse the repository at this point in the history
  • Loading branch information
Gold872 authored Feb 1, 2025
1 parent 33ef283 commit 6cf378a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/pages/dashboard_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -361,6 +361,7 @@ class _DashboardPageState extends State<DashboardPage> with WindowListener {
Future<void> _closeWindow() async {
await _saveWindowPosition();
await windowManager.destroy();
exit(0);
}

@override
Expand Down

0 comments on commit 6cf378a

Please sign in to comment.