mol_jsx_lib 0.0.1213 → 0.0.1215
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.deps.json +1 -1
- package/node.js +10 -1
- package/node.js.map +1 -1
- package/node.mjs +10 -1
- package/node.test.js +10 -1
- package/node.test.js.map +1 -1
- package/package.json +1 -1
- package/web.deps.json +1 -1
- package/web.js +10 -1
- package/web.js.map +1 -1
- package/web.mjs +10 -1
package/web.mjs
CHANGED
|
@@ -1072,9 +1072,18 @@ var $;
|
|
|
1072
1072
|
}
|
|
1073
1073
|
destructor() {
|
|
1074
1074
|
super.destructor();
|
|
1075
|
-
if (
|
|
1075
|
+
if (!$mol_owning_check(this, this.cache))
|
|
1076
|
+
return;
|
|
1077
|
+
try {
|
|
1076
1078
|
this.cache.destructor();
|
|
1077
1079
|
}
|
|
1080
|
+
catch (result) {
|
|
1081
|
+
if ($mol_promise_like(result)) {
|
|
1082
|
+
const error = new Error(`Promise in ${this}.destructor()`);
|
|
1083
|
+
Object.defineProperty(result, 'stack', { get: () => error.stack });
|
|
1084
|
+
}
|
|
1085
|
+
$mol_fail_hidden(result);
|
|
1086
|
+
}
|
|
1078
1087
|
}
|
|
1079
1088
|
}
|
|
1080
1089
|
$.$mol_wire_fiber = $mol_wire_fiber;
|