Strict null work for main thread debug, tasks, and output

This commit is contained in:
Matt Bierner
2019-02-07 17:56:21 -08:00
parent fdf21ccad7
commit fdc710af64
13 changed files with 76 additions and 59 deletions

View File

@@ -601,7 +601,7 @@ export class ExtHostDebugService implements ExtHostDebugServiceShape {
}
}
public $acceptDebugSessionActiveChanged(sessionDto: IDebugSessionDto): void {
public $acceptDebugSessionActiveChanged(sessionDto: IDebugSessionDto | undefined): void {
this._activeDebugSession = sessionDto ? this.getSession(sessionDto) : undefined;
this._onDidChangeActiveDebugSession.fire(this._activeDebugSession);