ThreadSafeFunction should handle exceptions in async callbacks identical to Node itself
#1119
Labels
ThreadSafeFunction should handle exceptions in async callbacks identical to Node itself
#1119
This is a duplicate of #669
When a JS callback called from a
ThreadSafeFunctionthrows an exception, the result is:While this:
ends up like this:
Why is it such a big deal? Because, as a module author, the first one will surely end up in an issue for my module, while with the second one, the user will correctly recognize what is happening.
Ideally, there should be a way to call Node's internal method which terminates the process.
The text was updated successfully, but these errors were encountered: