diff options
author | gengjiawen <technicalcute@gmail.com> | 2019-01-29 17:50:34 +0300 |
---|---|---|
committer | Anna Henningsen <anna@addaleax.net> | 2019-02-02 02:21:50 +0300 |
commit | dee9a61bb97bce0c75afcaffb1ae7fec81020ac4 (patch) | |
tree | b2a7b40cdd74498f5583d34a4afee62d575f8f81 /src/node.h | |
parent | 8c8144e51ce3ae2a521668b45d5afb21be8564e3 (diff) |
src: remove unused AsyncResource constructor in node.h
Signed-off-by: gengjiawen <technicalcute@gmail.com>
PR-URL: https://github.com/nodejs/node/pull/25793
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Minwoo Jung <minwoo@nodesource.com>
Diffstat (limited to 'src/node.h')
-rw-r--r-- | src/node.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/node.h b/src/node.h index 43795e0e391..72911d7982b 100644 --- a/src/node.h +++ b/src/node.h @@ -710,16 +710,6 @@ class AsyncResource { trigger_async_id); } - AsyncResource(v8::Isolate* isolate, - v8::Local<v8::Object> resource, - v8::Local<v8::String> 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(); |