mol_plot_all 1.2.1216 → 1.2.1217

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
@@ -789,13 +789,12 @@ var $;
789
789
  break;
790
790
  }
791
791
  if ($mol_promise_like(result) && !handled.has(result)) {
792
- handled.add(result);
793
792
  const put = (res) => {
794
793
  if (this.cache === result)
795
794
  this.put(res);
796
795
  return res;
797
796
  };
798
- result = Object.assign(result.then(put, put), { destructor: result.destructor });
797
+ result = result.then(put, put);
799
798
  }
800
799
  }
801
800
  catch (error) {
@@ -806,11 +805,10 @@ var $;
806
805
  result = new Error(String(error), { cause: error });
807
806
  }
808
807
  if ($mol_promise_like(result) && !handled.has(result)) {
809
- handled.add(result);
810
- result = Object.assign(result.finally(() => {
808
+ result = result.finally(() => {
811
809
  if (this.cache === result)
812
810
  this.absorb();
813
- }), { destructor: result.destructor });
811
+ });
814
812
  }
815
813
  }
816
814
  if ($mol_promise_like(result) && !handled.has(result)) {