From 74e6f68f44cb10293483af8f9156052394d3aced Mon Sep 17 00:00:00 2001 From: James Traver Date: Fri, 12 Oct 2018 11:38:56 -0500 Subject: [PATCH] src: remove delete MessagePort.prototype.hasRef; src: remove delete MessagePort.prototype.hasRef; Node Code+Learn: remote delete MessagePort.prototype.hasRef; --- lib/internal/worker.js | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/internal/worker.js b/lib/internal/worker.js index 41432f55e94d35..88580893cdc015 100644 --- a/lib/internal/worker.js +++ b/lib/internal/worker.js @@ -71,7 +71,6 @@ Object.setPrototypeOf(MessagePort.prototype, EventEmitter.prototype); // Finally, purge methods we don't want to be public. delete MessagePort.prototype.stop; delete MessagePort.prototype.drain; -delete MessagePort.prototype.hasRef; MessagePort.prototype.ref = MessagePortPrototype.ref; MessagePort.prototype.unref = MessagePortPrototype.unref;