tsc lint fmt
This commit is contained in:
@ -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 = {}
|
||||
|
Reference in New Issue
Block a user