mol_data_all 1.1.1409 → 1.1.1410

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.
package/node.test.js CHANGED
@@ -1760,9 +1760,18 @@ var $;
1760
1760
  }
1761
1761
  destructor() {
1762
1762
  super.destructor();
1763
- if ($mol_owning_check(this, this.cache)) {
1763
+ if (!$mol_owning_check(this, this.cache))
1764
+ return;
1765
+ try {
1764
1766
  this.cache.destructor();
1765
1767
  }
1768
+ catch (result) {
1769
+ if ($mol_promise_like(result)) {
1770
+ const error = new Error(`Promise in ${this}.destructor()`);
1771
+ Object.defineProperty(result, 'stack', { get: () => error.stack });
1772
+ }
1773
+ $mol_fail_hidden(result);
1774
+ }
1766
1775
  }
1767
1776
  }
1768
1777
  $.$mol_wire_fiber = $mol_wire_fiber;