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.
The event doesn't work for me on macOS or Linux when fish receives the SIGHUP signal, such as by kill-window in tmux or similar. Running through the debugger shows the event firing, but not the external process starting.
When SIGHUP is encountered, a flag is set to end the read loop (s_exit_forced). No new executions are allowed through when this flag is present, and it's set before the fish_exit event is fired. As @zanchey says, the event is fired but nothing is executed.