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
@timfish, I'm still able to reproduce this issue in Sentry's develop branch, even after merging #10035. The event handlers on worker appear to be enough to keep the process alive, even after calling .unref().
After #10035, I'm able to use process.exit() to explicitly exit, so this is not an urgent issue for us, but it may be worth calling out in the docs.
Is there an existing issue for this?
How do you use Sentry?
Sentry Saas (sentry.io)
Which SDK are you using?
@sentry/node
SDK Version
7.91.0
Framework Version
No response
Link to Sentry event
No response
SDK Setup
Steps to Reproduce
Expected Result
The program cleanly exits after 1 second.
Actual Result
The program waits forever.
It appears that the ANR integration's timer keeps the program alive, and its unref call therefore has no effect.
This is easy to work around with an explicit
process.exit()
call. If this behavior is intended, then perhaps the docs should be updated?See also #10022.
The text was updated successfully, but these errors were encountered: