summaryrefslogtreecommitdiff
path: root/src/stream_pipe.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/stream_pipe.cc')
-rw-r--r--src/stream_pipe.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stream_pipe.cc b/src/stream_pipe.cc
index 8f0263cd9a..617a0129cf 100644
--- a/src/stream_pipe.cc
+++ b/src/stream_pipe.cc
@@ -17,7 +17,7 @@ StreamPipe::StreamPipe(StreamBase* source,
StreamBase* sink,
Local<Object> obj)
: AsyncWrap(source->stream_env(), obj, AsyncWrap::PROVIDER_STREAMPIPE) {
- MakeWeak(this);
+ MakeWeak();
CHECK_NE(sink, nullptr);
CHECK_NE(source, nullptr);