mol_plot_all 1.2.1215 → 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/web.js CHANGED
@@ -774,13 +774,12 @@ var $;
774
774
  break;
775
775
  }
776
776
  if ($mol_promise_like(result) && !handled.has(result)) {
777
- handled.add(result);
778
777
  const put = (res) => {
779
778
  if (this.cache === result)
780
779
  this.put(res);
781
780
  return res;
782
781
  };
783
- result = Object.assign(result.then(put, put), { destructor: result.destructor });
782
+ result = result.then(put, put);
784
783
  }
785
784
  }
786
785
  catch (error) {
@@ -791,11 +790,10 @@ var $;
791
790
  result = new Error(String(error), { cause: error });
792
791
  }
793
792
  if ($mol_promise_like(result) && !handled.has(result)) {
794
- handled.add(result);
795
- result = Object.assign(result.finally(() => {
793
+ result = result.finally(() => {
796
794
  if (this.cache === result)
797
795
  this.absorb();
798
- }), { destructor: result.destructor });
796
+ });
799
797
  }
800
798
  }
801
799
  if ($mol_promise_like(result) && !handled.has(result)) {