When I kill -SIGINT pid
on my Golang service I have a graceful shutdown where I call the profile.Stop
, but before I could call it I got this message: profile: caught interrupt, stopping profiles
I can't even call the profile.Stop because it's triggered sooner, however the grpc listen and couchbase connection shutdowns works properly.
Is there anyway I can override this malfunctioning profile stop?