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
Just came accross this while searching for different issue and got curious 😄 I think all hooks are executed, you don't see the output presumably because main process dies after worker process gets disconnected (but is still processing hooks). If you modify the code in a way that worker kills itself, you will see all hooks are processed as expected:
Let me illustrate the problem with the following code:
If I start this script and kill it with ctrl+c, then I get:
As you can see, only the very fast exit hooks are executed. This problem only happens in workers. Is this a known issue?
Versions:
The text was updated successfully, but these errors were encountered: