605
return;
606
}
608
>
// `getSessionState` / `getSessionSummary` see the resolved working
609
>
// directory / project. We don't need to schedule a
610
>
// `SessionSummaryChanged` flush because the upcoming `SessionAdded`
611
>
// notification carries the complete summary already.
612
>
entry.state = { ...entry.state, project: summary.project, workingDirectories: summary.workingDirectories };
613
>
entry.modifiedAt = summary.modifiedAt;
614
>
entry.changes = summary.changes;
615
>
const full = this._toSummary(key, entry);
616
>
this._summaryNotifier.announce(key, full);
617
>
this._onDidEmitNotification.fire({
618
>
type: 'root/sessionAdded',
619
>
channel: ROOT_STATE_URI,
620
>
summary: full,
621
>
});
622
}
623