Pull Request #1 [pull] master from nodejs:master

Make sure C++ exceptions thrown from a finalizer are converted into
JS exceptions just as they are in regular callbacks.

Signed-off-by: Gabriel Schulhof <gabriel.schulhof@intel.com>
PR-URL: https://github.com/nodejs/node-addon-api/pull/762
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>

test: add finalizer exception test

src: wrap finalizer callback

 avatar pull[bot]

Pull request event #1.5 errored

  • Ran for
AMD64
Compiler: gcc C++
Git
NODEJS_VERSION=node/12

We're sorry, but this data is not available anymore. Please check the repository settings in Travis CI.