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
on Windows a CTRL_CLOSE_EVENT, CTRL_LOGOFF_EVENT or CTRL_SHUTDOWN_EVENT is sent as a syscall.SIGTERM to [signal.Notify]
the code dealing with the SCM might not be triggered when a syscall.SIGTERM is received
the shutdown code relies on defer which does not run when os-Exit is called.
A detailed explanation is found on elastic/elastic-agent#1525. This issue is seen in the Elastic Agent, and part of the problem resides on the elastic-agent-libs
The text was updated successfully, but these errors were encountered:
tl;dr:
CTRL_CLOSE_EVENT
,CTRL_LOGOFF_EVENT
orCTRL_SHUTDOWN_EVENT
is sent as asyscall.SIGTERM
to [signal.Notify
]syscall.SIGTERM
is receiveddefer
which does not run whenos-Exit
is called.A detailed explanation is found on elastic/elastic-agent#1525. This issue is seen in the Elastic Agent, and part of the problem resides on the
elastic-agent-libs
The text was updated successfully, but these errors were encountered: