Skip to content

Commit

Permalink
BrowserAgent: stop return true
Browse files Browse the repository at this point in the history
  • Loading branch information
rwaldron committed May 11, 2021
1 parent e2a1ef3 commit 3ad1fc0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/agents/BrowserAgent.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,11 @@ class BrowserAgent extends Agent {
return Promise.race([whenEvaluated, whenCancelled]);
}

async stop() {
stop() {
if (this._cancelEval) {
this._cancelEval();
}
return true;
}

async destroy() {
Expand Down

0 comments on commit 3ad1fc0

Please sign in to comment.