From 9d1071cfd6aa90b5d1e5ffdc587afceb1ed17e6e Mon Sep 17 00:00:00 2001 From: e1732a364fed <75717694+e1732a364fed@users.noreply.github.com> Date: Sat, 11 Feb 2023 15:14:03 +0800 Subject: [PATCH] add pprof file to .gitignore --- .gitignore | 3 ++- cmd/verysimple/main.go | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) 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.")