Lines Matching defs:close
348 self._handle.close(() => {
349 debug('emit close');
350 self.emit('close', isException);
416 // For backwards compat do not emit close on destroy.
813 debug('close');
816 debug('close handle');
825 debug('emit close');
826 this.emit('close', isException);
939 this.off('close', onClose);
945 this.once('close', onClose);
1243 this._handle?.close();
1575 handle.close();
1608 handle.close();
1631 handle.close();
1642 self.close();
1648 self.once('close', () => signal.removeEventListener('abort', onAborted));
1751 handle.close();
1763 handle.close();
1818 this._handle.close();
1991 this._handle.close();
2075 clientHandle.close();
2157 Server.prototype.close = function(cb) {
2160 this.once('close', function close() {
2164 this.once('close', cb);
2169 this._handle.close();
2183 // during polling of workers, `close` event will be emitted only once.
2188 this._workers[n].close(onWorkerClose);
2200 return FunctionPrototypeCall(promisify(this.close), this);
2220 debug('SERVER: emit close');
2221 self.emit('close');