diff options
Diffstat (limited to 'init.go')
| -rw-r--r-- | init.go | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -13,6 +13,7 @@ import ( "os" "runtime" "runtime/debug" + "runtime/pprof" "time" "github.com/awesome-gocui/gocui" @@ -148,6 +149,7 @@ func gocuiMain() { os.Stderr = outf os.Stdout = outf debug.PrintStack() + pprof.Lookup("goroutine").WriteTo(outf, 1) panic(outf) } }() |
