Skip to content

Commit e6fde38

Browse files
committed
Fix issue with timeouts failing in BrowserSolver
1 parent 8f557bf commit e6fde38

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dev/src/helpers/BrowserSolver.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ export default class BrowserSolver {
4444
if (evt.data === "onload") {
4545
this._startTime = Utils.now();
4646
this._timeoutId = setTimeout(()=> {
47-
this._doCallback({id: "timeout"}); // TODO: make this a warning, and return all results so far.
47+
this._onRegExComplete({id: "timeout"}); // TODO: make this a warning, and return all results so far.
4848
worker.terminate();
4949
}, 250);
5050
} else {

0 commit comments

Comments
 (0)