projects
/
platform
/
upstream
/
nodejs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
93a44d5
)
test: fix deprecation warning in addons test
author
Ben Noordhuis
<info@bnoordhuis.nl>
Mon, 25 May 2015 14:45:11 +0000
(16:45 +0200)
committer
Ben Noordhuis
<info@bnoordhuis.nl>
Tue, 26 May 2015 15:17:38 +0000
(17:17 +0200)
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>
test/addons/async-hello-world/binding.cc
patch
|
blob
|
history
diff --git
a/test/addons/async-hello-world/binding.cc
b/test/addons/async-hello-world/binding.cc
index
99f7943
..
f458dc6
100644
(file)
--- a/
test/addons/async-hello-world/binding.cc
+++ b/
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);
}
}