Skip to content

Commit 8a8c178

Browse files
gengjiawenaddaleax
authored andcommitted
src: remove unused AsyncResource constructor in node.h
Signed-off-by: gengjiawen <technicalcute@gmail.com> PR-URL: #25793 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Minwoo Jung <minwoo@nodesource.com>
1 parent 7556994 commit 8a8c178

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

src/node.h

-10
Original file line numberDiff line numberDiff line change
@@ -710,16 +710,6 @@ class AsyncResource {
710710
trigger_async_id);
711711
}
712712

713-
AsyncResource(v8::Isolate* isolate,
714-
v8::Local<v8::Object> resource,
715-
v8::Local<v8::String> name,
716-
async_id trigger_async_id = -1)
717-
: isolate_(isolate),
718-
resource_(isolate, resource) {
719-
async_context_ = EmitAsyncInit(isolate, resource, name,
720-
trigger_async_id);
721-
}
722-
723713
virtual ~AsyncResource() {
724714
EmitAsyncDestroy(isolate_, async_context_);
725715
resource_.Reset();

0 commit comments

Comments
 (0)