chore: generate
This commit is contained in:
parent
76ee87ead8
commit
b0a929440b
1 changed files with 2301 additions and 1599 deletions
|
|
@ -47,7 +47,7 @@ const appCache: Partial<Record<string, CachedApp>> = {}
|
|||
export async function disposeApps() {
|
||||
const apps = Object.values(appCache)
|
||||
for (const key of Object.keys(appCache)) delete appCache[key]
|
||||
await Promise.all(apps.flatMap((app) => app === undefined ? [] : [app.dispose()]))
|
||||
await Promise.all(apps.flatMap((app) => (app === undefined ? [] : [app.dispose()])))
|
||||
}
|
||||
|
||||
function app(modules: Runtime, options: CallOptions) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue