fix: call _detach on disconnect (#9807)

This commit is contained in:
Alex Rudenko 2023-03-09 09:21:28 +01:00 committed by GitHub
parent 89bdfb5206
commit bc1a04def8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -567,6 +567,7 @@ export class CDPBrowser extends BrowserBase {
override disconnect(): void {
this.#targetManager.dispose();
this.#connection.dispose();
this._detach();
}
/**