From 901e9a1983e30cd3913378b80be85f703be5fbc6 Mon Sep 17 00:00:00 2001 From: Anna Henningsen Date: Sat, 16 Dec 2017 20:39:27 +0100 Subject: src: remove redundant `JSStream::DoAfterWrite` `Finish` already does the same thing and is called immediately afterwards anyway. PR-URL: https://github.com/nodejs/node/pull/17713 Reviewed-By: Ben Noordhuis Reviewed-By: Anatoli Papirovski Reviewed-By: Colin Ihrig Reviewed-By: James M Snell --- src/js_stream.h | 1 - 1 file changed, 1 deletion(-) (limited to 'src/js_stream.h') diff --git a/src/js_stream.h b/src/js_stream.h index c7caf79374d..338cbe54563 100644 --- a/src/js_stream.h +++ b/src/js_stream.h @@ -37,7 +37,6 @@ class JSStream : public AsyncWrap, public StreamBase { AsyncWrap* GetAsyncWrap() override; static void New(const v8::FunctionCallbackInfo& args); - static void DoAfterWrite(const v8::FunctionCallbackInfo& args); static void ReadBuffer(const v8::FunctionCallbackInfo& args); static void EmitEOF(const v8::FunctionCallbackInfo& args); -- cgit v1.2.3