You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It looks like a shared object created with -buildmode=c-shared "hijack's" signal handling away from the main program.
I'm experimenting with Go shared objects as plugins. The main process has signal handling implemented to do graceful shutdown. However, the main program does not receive signals anymore after a Go shared object was loaded.
I would expect the main program to receive (and handle) the signals. Instead, signals are completely ignored. It requires SIGKILL to kill the process.