Skip to content

Commit

Permalink
[Windows]ウィンドウが閉じるまでに時間がかかるのを修正
Browse files Browse the repository at this point in the history
  • Loading branch information
4ster1sk committed Nov 9, 2024
1 parent e62ce4b commit 8bcbcd0
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 @@ -187,7 +187,8 @@ class MiriaWindowListener with WindowListener {
} catch (e) {
if (kDebugMode) print(e);
} finally {
await windowManager.destroy();
await windowManager.setPreventClose(false);
await windowManager.close();
}
}
}

0 comments on commit 8bcbcd0

Please sign in to comment.