fix(app): workspace loading and persist ready state (#23046)
This commit is contained in:
parent
d9950598d0
commit
a726530735
6 changed files with 187 additions and 194 deletions
|
|
@ -264,7 +264,6 @@ function createGlobalSync() {
|
|||
children.pin(directory)
|
||||
const promise = Promise.resolve().then(async () => {
|
||||
const child = children.ensureChild(directory)
|
||||
child[1]("bootstrapPromise", promise!)
|
||||
const cache = children.vcsCache.get(directory)
|
||||
if (!cache) return
|
||||
const sdk = sdkFor(directory)
|
||||
|
|
|
|||
|
|
@ -182,7 +182,6 @@ export function createChildStoreManager(input: {
|
|||
limit: 5,
|
||||
message: {},
|
||||
part: {},
|
||||
bootstrapPromise: Promise.resolve(),
|
||||
})
|
||||
children[directory] = child
|
||||
disposers.set(directory, dispose)
|
||||
|
|
|
|||
|
|
@ -72,7 +72,6 @@ export type State = {
|
|||
part: {
|
||||
[messageID: string]: Part[]
|
||||
}
|
||||
bootstrapPromise: Promise<void>
|
||||
}
|
||||
|
||||
export type VcsCache = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue