From e4f7bcff8b145f34fa73d190042a97bb6cc3b755 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 ee28ddcbde8817..06bb3879fa33c1 100644 --- a/lib/net.js +++ b/lib/net.js @@ -511,8 +511,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(); }