diff --git a/.gitignore b/.gitignore index 026ea24..9baa34a 100644 --- a/.gitignore +++ b/.gitignore @@ -34,4 +34,5 @@ vs_qrcode.png wintun/ wintun.dll *.aar -*.jar \ No newline at end of file +*.jar +*.pprof \ No newline at end of file diff --git a/cmd/verysimple/main.go b/cmd/verysimple/main.go index 5f15297..a094fe2 100644 --- a/cmd/verysimple/main.go +++ b/cmd/verysimple/main.go @@ -332,6 +332,7 @@ func stopMachineAndExit(m *machine.M) { } +// print close info and call stopMachineAndExit func exitBySignal() { utils.Info("Program got close signal.")