Skip to content

Commit 1c17aa1

Browse files
James TraverMylesBorins
authored andcommitted
worker: remove delete MessagePort.prototype.hasRef
Node Code+Learn: remove delete MessagePort.prototype.hasRef; PR-URL: #23471 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Shelley Vohr <[email protected]>
1 parent 26f4221 commit 1c17aa1

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

lib/internal/worker.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,6 @@ Object.setPrototypeOf(MessagePort.prototype, EventEmitter.prototype);
7272
// Finally, purge methods we don't want to be public.
7373
delete MessagePort.prototype.stop;
7474
delete MessagePort.prototype.drain;
75-
delete MessagePort.prototype.hasRef;
7675
MessagePort.prototype.ref = MessagePortPrototype.ref;
7776
MessagePort.prototype.unref = MessagePortPrototype.unref;
7877

0 commit comments

Comments
 (0)