@wixc3/engine-core
Advanced tools
Comparing version 45.3.0 to 45.3.1
@@ -28,7 +28,11 @@ "use strict"; | ||
}; | ||
this.disposables.add('disposal handlers', async () => { | ||
const featureDisposeHandlers = this.disposeHandlers.get(this.environment.env) || new Set(); | ||
for (const handler of featureDisposeHandlers) { | ||
await handler(); | ||
} | ||
this.disposables.add({ | ||
timeout: 5000, | ||
name: `[${this.environment.env}] environment disposal handlers`, | ||
dispose: async () => { | ||
const featureDisposeHandlers = this.disposeHandlers.get(this.environment.env) || new Set(); | ||
for (const handler of featureDisposeHandlers) { | ||
await handler(); | ||
} | ||
}, | ||
}); | ||
@@ -35,0 +39,0 @@ } |
{ | ||
"name": "@wixc3/engine-core", | ||
"version": "45.3.0", | ||
"version": "45.3.1", | ||
"main": "dist/index.js", | ||
@@ -5,0 +5,0 @@ "exports": { |
@@ -29,7 +29,11 @@ import type { RuntimeEngine } from './runtime-engine.js'; | ||
) { | ||
this.disposables.add('disposal handlers', async () => { | ||
const featureDisposeHandlers = this.disposeHandlers.get(this.environment.env) || new Set(); | ||
for (const handler of featureDisposeHandlers) { | ||
await handler(); | ||
} | ||
this.disposables.add({ | ||
timeout: 5_000, | ||
name: `[${this.environment.env}] environment disposal handlers`, | ||
dispose: async () => { | ||
const featureDisposeHandlers = this.disposeHandlers.get(this.environment.env) || new Set(); | ||
for (const handler of featureDisposeHandlers) { | ||
await handler(); | ||
} | ||
}, | ||
}); | ||
@@ -36,0 +40,0 @@ } |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1351193
13395