From a3de04f403d7604d57912603edd0f7457ad94579 Mon Sep 17 00:00:00 2001 From: 0xNul <57599792+0xNul@users.noreply.github.com> Date: Mon, 10 Jul 2023 23:02:46 -0700 Subject: exit process when closed --- src/votann/core.clj | 1 + 1 file changed, 1 insertion(+) (limited to 'src') 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"))] -- cgit v1.2.3