lakutata 0.1.2-beta.1 → 0.1.2-beta.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/build/Lakutata.js +14 -6
  2. package/package.json +1 -1
package/build/Lakutata.js CHANGED
@@ -82093,8 +82093,12 @@ var _Container = (_class14 = class _Container {
82093
82093
  * @protected
82094
82094
  */
82095
82095
  async disposer(instance) {
82096
- await instance.getMethod("__destroy", false)();
82097
- await instance.getMethod("destroy", false)();
82096
+ try {
82097
+ await instance.getMethod("__destroy", false)();
82098
+ await instance.getMethod("destroy", false)();
82099
+ } catch (e2) {
82100
+ _chunkCDQUWO3Tjs.DevNull.call(void 0, e2);
82101
+ }
82098
82102
  this.updateTransientWeakRefs();
82099
82103
  }
82100
82104
  /**
@@ -82316,10 +82320,14 @@ var _Container = (_class14 = class _Container {
82316
82320
  this.__$$additionalPropertyMap.clear();
82317
82321
  for (const ref of this.__$transientWeakRefs) {
82318
82322
  const transient = ref.deref();
82319
- if (_optionalChain([transient, 'optionalAccess', _17 => _17.__destroy]))
82320
- await transient.__destroy();
82321
- if (_optionalChain([transient, 'optionalAccess', _18 => _18.destroy]))
82322
- await transient.destroy();
82323
+ try {
82324
+ if (_optionalChain([transient, 'optionalAccess', _17 => _17.__destroy]))
82325
+ await transient.__destroy();
82326
+ if (_optionalChain([transient, 'optionalAccess', _18 => _18.destroy]))
82327
+ await transient.destroy();
82328
+ } catch (e2) {
82329
+ _chunkCDQUWO3Tjs.DevNull.call(void 0, e2);
82330
+ }
82323
82331
  }
82324
82332
  }
82325
82333
  }, _class14);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lakutata",
3
- "version": "0.1.2-beta.1",
3
+ "version": "0.1.2-beta.2",
4
4
  "description": "An IoC-based universal application framework.",
5
5
  "main": "./build/Lakutata.js",
6
6
  "types": "./build/Lakutata.d.ts",