mol_mutable 0.0.1036 → 0.0.1038

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
@@ -1023,7 +1023,7 @@ var $;
1023
1023
  this.data.length = this.sub_from;
1024
1024
  this.cursor = this.pub_from;
1025
1025
  this.track_cut();
1026
- this.cursor = $mol_wire_cursor.final;
1026
+ this.cursor = $mol_wire_cursor.stale;
1027
1027
  }
1028
1028
  track_cut() {
1029
1029
  if (this.cursor < this.pub_from) {
@@ -1724,6 +1724,10 @@ var $;
1724
1724
  this.emit();
1725
1725
  return next;
1726
1726
  }
1727
+ destructor() {
1728
+ super.destructor();
1729
+ this.cursor = $mol_wire_cursor.final;
1730
+ }
1727
1731
  }
1728
1732
  $.$mol_wire_task = $mol_wire_task;
1729
1733
  })($ || ($ = {}));