summaryrefslogtreecommitdiff
path: root/exit.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-09-03 17:31:22 -0500
committerJeff Carr <[email protected]>2025-09-03 17:31:22 -0500
commite896cae995a1d0be5f172bf856b732b5fbf14017 (patch)
tree2cacbe7eb0882493d14f21aacb94f3a95d601783 /exit.go
parentf6803f07f1de75d84e4282409e237b00dd52586b (diff)
fixing gocui plugin exit()
Diffstat (limited to 'exit.go')
-rw-r--r--exit.go9
1 files changed, 5 insertions, 4 deletions
diff --git a/exit.go b/exit.go
index 11e78ed..c57e525 100644
--- a/exit.go
+++ b/exit.go
@@ -6,18 +6,19 @@ package main
import (
"os"
+ "go.wit.com/gui"
"go.wit.com/lib/protobuf/gitpb"
"go.wit.com/log"
)
func okExit(thing string) {
- if thing != "" {
- log.Info("forge exit:", thing, "ok")
- }
+ gui.UnloadToolkits()
if configSave {
me.forge.SetConfigSave(configSave)
}
- // log.Info("Finished go-clean on", check.GetGoPath(), "ok")
+ if thing != "" {
+ log.Info("forge exit:", thing, "ok")
+ }
me.forge.Exit()
}