Skip to content

Commit

Permalink
Fixed missed timeout case
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasdondorf committed Mar 17, 2024
1 parent f138739 commit 35c5d97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/concurrency/built-in/Browser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export default class Browser extends ConcurrencyImplementation {
debug('Starting repair');
try {
// will probably fail, but just in case the repair was not necessary
await chrome.close();
await timeoutExecute(BROWSER_TIMEOUT, chrome.close());
} catch (e) {}

// just relaunch as there is only one page per browser
Expand Down

0 comments on commit 35c5d97

Please sign in to comment.