diff options
| author | Jeff Carr <[email protected]> | 2025-09-03 17:31:22 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-09-03 17:31:22 -0500 |
| commit | e896cae995a1d0be5f172bf856b732b5fbf14017 (patch) | |
| tree | 2cacbe7eb0882493d14f21aacb94f3a95d601783 /exit.go | |
| parent | f6803f07f1de75d84e4282409e237b00dd52586b (diff) | |
fixing gocui plugin exit()
Diffstat (limited to 'exit.go')
| -rw-r--r-- | exit.go | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -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() } |
