fix: call _detach on disconnect (#9807)
This commit is contained in:
parent
89bdfb5206
commit
bc1a04def8
@ -567,6 +567,7 @@ export class CDPBrowser extends BrowserBase {
|
|||||||
override disconnect(): void {
|
override disconnect(): void {
|
||||||
this.#targetManager.dispose();
|
this.#targetManager.dispose();
|
||||||
this.#connection.dispose();
|
this.#connection.dispose();
|
||||||
|
this._detach();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user