mol_jsx_lib 0.0.1404 → 0.0.1406

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/web.mjs CHANGED
@@ -1714,6 +1714,12 @@ var $;
1714
1714
  $mol_wire_atom.watching.add(this);
1715
1715
  }
1716
1716
  resync(args) {
1717
+ for (let cursor = this.pub_from; cursor < this.sub_from; cursor += 2) {
1718
+ const pub = this.data[cursor];
1719
+ if (pub && pub instanceof $mol_wire_task) {
1720
+ pub.destructor();
1721
+ }
1722
+ }
1717
1723
  return this.put(this.task.call(this.host, ...args));
1718
1724
  }
1719
1725
  once() {