mirror of
https://github.com/nodejs/node.git
synced 2024-11-30 15:30:56 +01:00
worker: remove delete MessagePort.prototype.hasRef
Node Code+Learn: remove delete MessagePort.prototype.hasRef; PR-URL: https://github.com/nodejs/node/pull/23471 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Shelley Vohr <codebytere@gmail.com>
This commit is contained in:
parent
fc0da7f6b4
commit
b22903eacd
@ -71,7 +71,6 @@ Object.setPrototypeOf(MessagePort.prototype, EventEmitter.prototype);
|
|||||||
// Finally, purge methods we don't want to be public.
|
// Finally, purge methods we don't want to be public.
|
||||||
delete MessagePort.prototype.stop;
|
delete MessagePort.prototype.stop;
|
||||||
delete MessagePort.prototype.drain;
|
delete MessagePort.prototype.drain;
|
||||||
delete MessagePort.prototype.hasRef;
|
|
||||||
MessagePort.prototype.ref = MessagePortPrototype.ref;
|
MessagePort.prototype.ref = MessagePortPrototype.ref;
|
||||||
MessagePort.prototype.unref = MessagePortPrototype.unref;
|
MessagePort.prototype.unref = MessagePortPrototype.unref;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user