Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGerhard Stoebich <18708370+Flarna@users.noreply.github.com>2020-02-18 16:37:39 +0300
committerMyles Borins <mylesborins@google.com>2020-03-11 23:26:58 +0300
commit478f1e7e1373521a5965338fb0d51a6167d62960 (patch)
treed92387ffefe0a30f194db8139ec2a2d113b7bc71 /src/async_wrap.h
parent893e9183b5c9f161cf352081b3b4523d8cbb45c8 (diff)
async_hooks: avoid resource reuse by FileHandle
Wrap reused read_wrap in a unique async resource to ensure that executionAsyncResource() is not ambiguous. PR-URL: https://github.com/nodejs/node/pull/31972 Refs: https://github.com/nodejs/node/pull/30959 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: David Carlier <devnexen@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Stephen Belanger <admin@stephenbelanger.com>
Diffstat (limited to 'src/async_wrap.h')
-rw-r--r--src/async_wrap.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/async_wrap.h b/src/async_wrap.h
index 33bed41a643..34e84fde6d4 100644
--- a/src/async_wrap.h
+++ b/src/async_wrap.h
@@ -170,9 +170,6 @@ class AsyncWrap : public BaseObject {
double execution_async_id = kInvalidAsyncId,
bool silent = false);
- void AsyncReset(double execution_async_id = kInvalidAsyncId,
- bool silent = false);
-
// Only call these within a valid HandleScope.
v8::MaybeLocal<v8::Value> MakeCallback(const v8::Local<v8::Function> cb,
int argc,