Browse Source

test: fix deprecation warning in addons test

The non-isolate version of node::FatalException() is deprecated, switch
to the version that takes an isolate as its first argument.

PR-URL: https://github.com/nodejs/io.js/pull/1793
Reviewed-By: Trevor Norris <trev.norris@gmail.com>
v2.3.1-release
Ben Noordhuis 10 years ago
parent
commit
280fb01daf
  1. 2
      test/addons/async-hello-world/binding.cc

2
test/addons/async-hello-world/binding.cc

@ -39,7 +39,7 @@ void AfterAsync(uv_work_t* r) {
delete req;
if (try_catch.HasCaught()) {
FatalException(try_catch);
FatalException(isolate, try_catch);
}
}

Loading…
Cancel
Save