diff --git a/src/node.h b/src/node.h index 43795e0e391b9c..72911d7982b72f 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();