summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
author0xNul <57599792+0xNul@users.noreply.github.com>2023-07-10 23:02:46 -0700
committer0xNul <57599792+0xNul@users.noreply.github.com>2023-07-10 23:03:09 -0700
commita3de04f403d7604d57912603edd0f7457ad94579 (patch)
treecdf607839b441c91ffc33586c2b81ab5097d41dd /src
parent9d620e9f3d81db6475122eee50518347b32c4732 (diff)
exit process when closed
Diffstat (limited to 'src')
-rw-r--r--src/votann/core.clj1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/votann/core.clj b/src/votann/core.clj
index 50322eb..2f8b09f 100644
--- a/src/votann/core.clj
+++ b/src/votann/core.clj
@@ -9,6 +9,7 @@
{:fx/type :stage
:max-width 1253
:max-height 860
+ :on-close-request (fn [_] (System/exit 0))
:icons [(get-resource-path (str "leagues-of-votann/icon256x256.png"))
(get-resource-path (str "leagues-of-votann/icon48x48.png"))
(get-resource-path (str "leagues-of-votann/icon32x32.png"))]