mirror of
https://github.com/nodejs/node.git
synced 2024-12-01 16:10:02 +01:00
src: remove extra ReadStop()
call
This is no longer necessary since libuv 1.21.0. PR-URL: https://github.com/nodejs/node/pull/21528 Reviewed-By: Gus Caplan <me@gus.host> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
This commit is contained in:
parent
deff8dbf49
commit
a078521a6a
@ -373,11 +373,6 @@ void LibuvStreamWrap::AfterUvWrite(uv_write_t* req, int status) {
|
||||
req_wrap->Done(status);
|
||||
}
|
||||
|
||||
void LibuvStreamWrap::Close(v8::Local<v8::Value> close_callback) {
|
||||
ReadStop();
|
||||
HandleWrap::Close(close_callback);
|
||||
}
|
||||
|
||||
} // namespace node
|
||||
|
||||
NODE_BUILTIN_MODULE_CONTEXT_AWARE(stream_wrap,
|
||||
|
@ -76,8 +76,6 @@ class LibuvStreamWrap : public HandleWrap, public StreamBase {
|
||||
ShutdownWrap* CreateShutdownWrap(v8::Local<v8::Object> object) override;
|
||||
WriteWrap* CreateWriteWrap(v8::Local<v8::Object> object) override;
|
||||
|
||||
void Close(v8::Local<v8::Value> close_callback) override;
|
||||
|
||||
protected:
|
||||
LibuvStreamWrap(Environment* env,
|
||||
v8::Local<v8::Object> object,
|
||||
|
Loading…
Reference in New Issue
Block a user