MCPcopy
hub / github.com/microsoft/playwright / cleanup

Method cleanup

packages/utils/socksProxy.ts:529–532  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

527 }
528
529 cleanup() {
530 for (const uid of this._sockets.keys())
531 this.socketClosed({ uid });
532 }
533
534 async socketRequested({ uid, host, port }: SocksSocketRequestedPayload): Promise<void> {
535 debugLogger.log('socks', `[${uid}] => request ${host}:${port}`);

Callers

nothing calls this directly

Calls 2

socketClosedMethod · 0.95
keysMethod · 0.80

Tested by

no test coverage detected