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:
authorJames M Snell <jasnell@gmail.com>2020-07-22 19:16:13 +0300
committerJames M Snell <jasnell@gmail.com>2020-07-23 16:52:59 +0300
commitb06fe33de1bba9c8f0fcf52ea5d8c54035159dfd (patch)
tree35fb91ed1693542ecceb16deac0ced488f5b6de6 /src/stream_base.cc
parent8bd61d4c3859f255e1302fd3625ab22c6c7d1c0b (diff)
quic: use async _construct for QuicStream
PR-URL: https://github.com/nodejs/node/pull/34351 Reviewed-By: Robert Nagy <ronagy@icloud.com> Reviewed-By: Anna Henningsen <anna@addaleax.net>
Diffstat (limited to 'src/stream_base.cc')
-rw-r--r--src/stream_base.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/stream_base.cc b/src/stream_base.cc
index b4008a304a1..b35df39afe9 100644
--- a/src/stream_base.cc
+++ b/src/stream_base.cc
@@ -68,6 +68,7 @@ int StreamBase::UseUserBuffer(const FunctionCallbackInfo<Value>& args) {
int StreamBase::Shutdown(const FunctionCallbackInfo<Value>& args) {
CHECK(args[0]->IsObject());
Local<Object> req_wrap_obj = args[0].As<Object>();
+
return Shutdown(req_wrap_obj);
}