Skip to content

Commit

Permalink
Change variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
digeff committed Jul 3, 2020
1 parent 7038954 commit eec5237
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/adapter/threads.ts
Expand Up @@ -1282,17 +1282,17 @@ export class Thread implements IVariableStoreDelegate {
delay(timeout),
]);

const wallClockTimeBlockedInMs = timer.elapsed().ms;
const timeSpentWallClockInMs = timer.elapsed().ms;
const sourceMapCumulativePause =
this._sourceContainer.sourceMapTimeouts().sourceMapCumulativePause -
Math.max(wallClockTimeBlockedInMs - perScriptTimeout, 0);
Math.max(timeSpentWallClockInMs - perScriptTimeout, 0);
this._sourceContainer.setSourceMapTimeouts({
...this._sourceContainer.sourceMapTimeouts(),
sourceMapCumulativePause: sourceMapCumulativePause,
sourceMapCumulativePause,
});
this.logger.verbose(LogTag.Internal, `Blocked execution waiting for source-map`, {
timeSpentWallClockInMs: wallClockTimeBlockedInMs,
remainingExtraCumulativeScriptPaused: sourceMapCumulativePause,
timeSpentWallClockInMs,
sourceMapCumulativePause,
});

if (!result) {
Expand Down

0 comments on commit eec5237

Please sign in to comment.