Skip to content
This repository has been archived by the owner on Oct 2, 2021. It is now read-only.

Commit

Permalink
Revert part of the fix for microsoft/vscode#53535, it could be unsafe
Browse files Browse the repository at this point in the history
  • Loading branch information
roblourens committed Jul 30, 2018
1 parent 6022248 commit 8b45a80
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/chrome/chromeDebugAdapter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -801,9 +801,6 @@ export abstract class ChromeDebugAdapter implements IDebugAdapter {
} else {
const newValue = promiseDefer<void>();
this._scriptIdToBreakpointsAreResolvedDefer.set(scriptId, newValue);
const dispose = () => this._scriptIdToBreakpointsAreResolvedDefer.delete(scriptId);
newValue.promise.then(dispose, dispose);

return newValue;
}
}
Expand Down

0 comments on commit 8b45a80

Please sign in to comment.