Skip to content

Commit fd9ecea

Browse files
committed
1 parent eed66ab commit fd9ecea

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/vs/workbench/contrib/debug/browser/callStackView.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -576,7 +576,7 @@ function isDebugModel(obj: any): obj is IDebugModel {
576576
}
577577

578578
function isDebugSession(obj: any): obj is IDebugSession {
579-
return typeof obj.getAllThreads === 'function';
579+
return obj && typeof obj.getAllThreads === 'function';
580580
}
581581

582582
function isDeemphasized(frame: IStackFrame): boolean {

0 commit comments

Comments
 (0)