mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
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 {
|
||||
this.#targetManager.dispose();
|
||||
this.#connection.dispose();
|
||||
this._detach();
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user