tsc lint fmt

This commit is contained in:
49lf
2025-02-17 10:38:15 -05:00
committed by lee-at-zoo-corp
parent e3705bf7df
commit deb83cf62c
5 changed files with 156 additions and 58 deletions

View File

@ -839,6 +839,11 @@ class EngineConnection extends EventTarget {
this.engineCommandManager.inSequence = 1
// Bust the cache before anything
;(async () => {
await clearSceneAndBustCache(kclManager.engineCommandManager)
})().catch(reportRejection)
this.dispatchEvent(
new CustomEvent(EngineConnectionEvents.Opened, { detail: this })
)
@ -1801,7 +1806,6 @@ export class EngineCommandManager extends EventTarget {
)
this.engineConnection?.tearDown(opts)
this.engineConnection = undefined
// Our window.engineCommandManager.tearDown assignment causes this case to happen which is
// only really for tests.
@ -1812,6 +1816,7 @@ export class EngineCommandManager extends EventTarget {
// @ts-ignore
this.engineCommandManager.engineConnection = null
}
this.engineConnection = undefined
}
async startNewSession() {
this.responseMap = {}