mol_wire_lib 1.0.1231 → 1.0.1232
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.d.ts +1 -0
- package/node.d.ts.map +1 -1
- package/node.deps.json +1 -1
- package/node.js +14 -4
- package/node.js.map +1 -1
- package/node.mjs +14 -4
- package/node.test.js +14 -4
- package/node.test.js.map +1 -1
- package/package.json +1 -1
- package/web.d.ts +1 -0
- package/web.d.ts.map +1 -1
- package/web.deps.json +1 -1
- package/web.js +14 -4
- package/web.js.map +1 -1
- package/web.mjs +14 -4
package/web.mjs
CHANGED
|
@@ -850,6 +850,12 @@ var $;
|
|
|
850
850
|
};
|
|
851
851
|
});
|
|
852
852
|
}
|
|
853
|
+
destructor() {
|
|
854
|
+
super.destructor();
|
|
855
|
+
if ($mol_owning_check(this, this.cache)) {
|
|
856
|
+
this.cache.destructor();
|
|
857
|
+
}
|
|
858
|
+
}
|
|
853
859
|
}
|
|
854
860
|
$.$mol_wire_fiber = $mol_wire_fiber;
|
|
855
861
|
})($ || ($ = {}));
|
|
@@ -1099,6 +1105,14 @@ var $;
|
|
|
1099
1105
|
this.cursor = $mol_wire_cursor.fresh;
|
|
1100
1106
|
if (next !== prev)
|
|
1101
1107
|
this.emit();
|
|
1108
|
+
if ($mol_owning_catch(this, next)) {
|
|
1109
|
+
try {
|
|
1110
|
+
next[Symbol.toStringTag] = this[Symbol.toStringTag];
|
|
1111
|
+
}
|
|
1112
|
+
catch {
|
|
1113
|
+
Object.defineProperty(next, Symbol.toStringTag, { value: this[Symbol.toStringTag] });
|
|
1114
|
+
}
|
|
1115
|
+
}
|
|
1102
1116
|
return next;
|
|
1103
1117
|
}
|
|
1104
1118
|
this.cursor = $mol_wire_cursor.final;
|
|
@@ -1357,10 +1371,6 @@ var $;
|
|
|
1357
1371
|
}
|
|
1358
1372
|
destructor() {
|
|
1359
1373
|
super.destructor();
|
|
1360
|
-
const prev = this.cache;
|
|
1361
|
-
if ($mol_owning_check(this, prev)) {
|
|
1362
|
-
prev.destructor();
|
|
1363
|
-
}
|
|
1364
1374
|
if (this.pub_from === 0) {
|
|
1365
1375
|
;
|
|
1366
1376
|
(this.host ?? this.task)[this.field()] = null;
|