Skip to content

Commit

Permalink
fix: call _detach on disconnect (#9807)
Browse files Browse the repository at this point in the history
  • Loading branch information
OrKoN committed Mar 9, 2023
1 parent 89bdfb5 commit bc1a04d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/puppeteer-core/src/common/Browser.ts
Expand Up @@ -567,6 +567,7 @@ export class CDPBrowser extends BrowserBase {
override disconnect(): void {
this.#targetManager.dispose();
this.#connection.dispose();
this._detach();
}

/**
Expand Down

0 comments on commit bc1a04d

Please sign in to comment.