From 6c20fa56944fb80aa26d236b5c89e58b8fb48da8 Mon Sep 17 00:00:00 2001 From: Rich Trott Date: Thu, 20 Oct 2022 23:37:05 -0700 Subject: [PATCH] net: remove _readableState from debug statement Ref: https://github.com/nodejs/node/issues/445 PR-URL: https://github.com/nodejs/node/pull/45063 Refs: https://github.com/nodejs/node/issues/445 Reviewed-By: Matteo Collina Reviewed-By: Paolo Insogna Reviewed-By: Minwoo Jung Reviewed-By: James M Snell --- lib/net.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/net.js b/lib/net.js index eaa5e594e5f4ef..62702d01fb08cc 100644 --- a/lib/net.js +++ b/lib/net.js @@ -496,8 +496,7 @@ Socket.prototype._final = function(cb) { function afterShutdown() { const self = this.handle[owner_symbol]; - debug('afterShutdown destroyed=%j', self.destroyed, - self._readableState); + debug('afterShutdown destroyed=%j', self.destroyed); this.callback(); }