Skip to content

Commit 2238a14

Browse files
authored
Fix unhandled exception in debugservice during startup (microsoft#172555)
Fix microsoft#172305
1 parent 378bfd7 commit 2238a14

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,8 @@ export class DebugService implements IDebugService {
181181
if (editorService.activeEditor === DisassemblyViewInput.instance) {
182182
this.disassemblyViewFocus.set(true);
183183
} else {
184-
this.disassemblyViewFocus.reset();
184+
// This key can be initialized a tick after this event is fired
185+
this.disassemblyViewFocus?.reset();
185186
}
186187
});
187188
}));

0 commit comments

Comments
 (0)