remove paranoia code after fix for #69128

This commit is contained in:
Andre Weinand
2019-03-11 13:18:24 +01:00
parent 2c445297fb
commit 37f689cebc
2 changed files with 2 additions and 10 deletions

View File

@@ -601,11 +601,7 @@ export class ExtHostDebugService implements ExtHostDebugServiceShape {
public async $acceptDebugSessionStarted(sessionDto: IDebugSessionDto): Promise<void> {
const session = await this.getSession(sessionDto);
if (session) {
this._onDidStartDebugSession.fire(session);
} else {
console.error('undefined session received in acceptDebugSessionStarted'); // should not happen (but see #69128)
}
this._onDidStartDebugSession.fire(session);
}
public async $acceptDebugSessionTerminated(sessionDto: IDebugSessionDto): Promise<void> {