fix(runtime): resolve white-screen parse regressions and harden checklist/realtime keying
This commit is contained in:
parent
fbe1178e24
commit
75bf72435d
5 changed files with 24 additions and 26 deletions
|
|
@ -50,10 +50,11 @@ export class IssuesEventBus {
|
|||
subscribe(listener: (event: IssuesChangedEvent) => void, options: SubscribeOptions = {}): () => void {
|
||||
const id = this.nextSubscriberId;
|
||||
this.nextSubscriberId += 1;
|
||||
const canonicalRoot = options.projectRoot ? canonicalizeWindowsPath(options.projectRoot) : undefined;
|
||||
|
||||
this.subscribers.set(id, {
|
||||
listener,
|
||||
projectKey: options.projectRoot ? windowsPathKey(options.projectRoot) : undefined,
|
||||
projectKey: canonicalRoot ? windowsPathKey(canonicalRoot) : undefined,
|
||||
});
|
||||
|
||||
return () => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue