diff --git a/src/chrome/chromeDebugAdapter.ts b/src/chrome/chromeDebugAdapter.ts index c81852379..536f64145 100644 --- a/src/chrome/chromeDebugAdapter.ts +++ b/src/chrome/chromeDebugAdapter.ts @@ -801,9 +801,6 @@ export abstract class ChromeDebugAdapter implements IDebugAdapter { } else { const newValue = promiseDefer(); this._scriptIdToBreakpointsAreResolvedDefer.set(scriptId, newValue); - const dispose = () => this._scriptIdToBreakpointsAreResolvedDefer.delete(scriptId); - newValue.promise.then(dispose, dispose); - return newValue; } }