From 8a57c9df06d59fae2715d84936077d83b7381707 Mon Sep 17 00:00:00 2001 From: gengjiawen Date: Tue, 29 Jan 2019 22:50:34 +0800 Subject: [PATCH] src: remove unused AsyncResource constructor in node.h Signed-off-by: gengjiawen --- src/node.h | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/node.h b/src/node.h index fbf9128be42429..516ce4c0daa29b 100644 --- a/src/node.h +++ b/src/node.h @@ -710,16 +710,6 @@ class AsyncResource { trigger_async_id); } - AsyncResource(v8::Isolate* isolate, - v8::Local resource, - v8::Local name, - async_id trigger_async_id = -1) - : isolate_(isolate), - resource_(isolate, resource) { - async_context_ = EmitAsyncInit(isolate, resource, name, - trigger_async_id); - } - virtual ~AsyncResource() { EmitAsyncDestroy(isolate_, async_context_); resource_.Reset();