summaryrefslogtreecommitdiff
path: root/src/handle_wrap.cc
diff options
context:
space:
mode:
authorBen Noordhuis <info@bnoordhuis.nl>2012-02-03 16:32:00 +0100
committerBen Noordhuis <info@bnoordhuis.nl>2012-02-06 15:44:42 +0100
commit74a8215a8699f89ee4b82ca616a4eafa3b11203b (patch)
tree1f2c8a7c47eae80a043c4b3ccf7372f4e8c7e292 /src/handle_wrap.cc
parenta9723df1b76777899a3819839cb7e8f0e2efaef1 (diff)
downloadnode-new-74a8215a8699f89ee4b82ca616a4eafa3b11203b.tar.gz
Revert support for isolates.
It was decided that the performance benefits that isolates offer (faster spin-up times for worker processes, faster inter-worker communication, possibly a lower memory footprint) are not actual bottlenecks for most people and do not outweigh the potential stability issues and intrusive changes to the code base that first-class support for isolates requires. Hence, this commit backs out all isolates-related changes. Good bye, isolates. We hardly knew ye.
Diffstat (limited to 'src/handle_wrap.cc')
-rw-r--r--src/handle_wrap.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/handle_wrap.cc b/src/handle_wrap.cc
index 86c2a9e670..eb6713edad 100644
--- a/src/handle_wrap.cc
+++ b/src/handle_wrap.cc
@@ -21,7 +21,6 @@
#include <node.h>
#include <handle_wrap.h>
-#include <node_vars.h>
namespace node {
@@ -71,7 +70,7 @@ Handle<Value> HandleWrap::Unref(const Arguments& args) {
}
wrap->unref = true;
- uv_unref(Loop());
+ uv_unref(uv_default_loop());
return v8::Undefined();
}
@@ -89,7 +88,7 @@ Handle<Value> HandleWrap::Ref(const Arguments& args) {
}
wrap->unref = false;
- uv_ref(Loop());
+ uv_ref(uv_default_loop());
return v8::Undefined();
}