mol_wire_lib 1.0.236 → 1.0.237

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.js CHANGED
@@ -1133,10 +1133,15 @@ var $;
1133
1133
  var $;
1134
1134
  (function ($) {
1135
1135
  function $mol_wire_solid() {
1136
- $mol_wire_auto().reap = nothing;
1136
+ const current = $mol_wire_auto();
1137
+ if (current.reap !== nothing) {
1138
+ current?.sub_on(sub, sub.data.length);
1139
+ }
1140
+ current.reap = nothing;
1137
1141
  }
1138
1142
  $.$mol_wire_solid = $mol_wire_solid;
1139
1143
  const nothing = () => { };
1144
+ const sub = new $mol_wire_pub_sub;
1140
1145
  })($ || ($ = {}));
1141
1146
  //mol/wire/solid/solid.ts
1142
1147
  ;