summaryrefslogtreecommitdiff
path: root/src/tcp_wrap.cc
diff options
context:
space:
mode:
authorTrevor Norris <trev.norris@gmail.com>2014-01-20 13:20:11 -0800
committerTrevor Norris <trev.norris@gmail.com>2014-01-21 10:20:07 -0800
commit63ccfc35366774fff1ee8db313a1b9ea6d6eb66c (patch)
treead9bc47efb23f60f487f2c962418d6aaa7f357d6 /src/tcp_wrap.cc
parent159da758e4f5b4279a1e70dc80a0be7125529d75 (diff)
downloadandroid-node-v8-63ccfc35366774fff1ee8db313a1b9ea6d6eb66c.tar.gz
android-node-v8-63ccfc35366774fff1ee8db313a1b9ea6d6eb66c.tar.bz2
android-node-v8-63ccfc35366774fff1ee8db313a1b9ea6d6eb66c.zip
async_wrap/timers: remove Add/RemoveAsyncListener
The ability to add/remove an AsyncListener to an object after its creation was an artifact of trying to get AL working with the domain module. Now that is no longer necessary and other features are going to be implemented that would be affected by this functionality. So the code will be removed for now to simplify the implementation process. In the future this code will likely be reintroduced, but after some other more important matters have been addressed. None of this functionality was documented, as is was meant specifically for domain specific implementation work arounds. Signed-off-by: Timothy J Fontaine <tjfontaine@gmail.com>
Diffstat (limited to 'src/tcp_wrap.cc')
-rw-r--r--src/tcp_wrap.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/tcp_wrap.cc b/src/tcp_wrap.cc
index dad505dbe1..2ff3b34b41 100644
--- a/src/tcp_wrap.cc
+++ b/src/tcp_wrap.cc
@@ -116,8 +116,6 @@ void TCPWrap::Initialize(Handle<Object> target,
SetSimultaneousAccepts);
#endif
- AsyncWrap::AddMethods<TCPWrap>(t);
-
target->Set(FIXED_ONE_BYTE_STRING(node_isolate, "TCP"), t->GetFunction());
env->set_tcp_constructor_template(t);
}