From 5a43fff5b6c304b8e03ff2a5ee4ccdd003a13fb4 Mon Sep 17 00:00:00 2001 From: Rob Swindell <rob@synchro.net> Date: Fri, 16 Sep 2022 18:54:58 -0700 Subject: [PATCH] Insure call to uifc.bail() when exiting --- exec/freqitcfg.js | 1 + 1 file changed, 1 insertion(+) diff --git a/exec/freqitcfg.js b/exec/freqitcfg.js index 0fe505543a..d9c95e6a16 100644 --- a/exec/freqitcfg.js +++ b/exec/freqitcfg.js @@ -184,6 +184,7 @@ function main() var val; uifc.init("FREQIT Config"); + js.on_exit("uifc.bail()"); while (cmd >= 0) { opts = ["Dirs...", "Secure Dirs...", format("Max Files (%d)", cfg.maxfiles), "Magic Names..."]; cmd = uifc.list(WIN_ACT|WIN_ORG|WIN_MID, "FREQIT Options", opts, ctx); -- GitLab