mol_jsx_lib 0.0.1093 → 0.0.1095

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
@@ -977,13 +977,12 @@ var $;
977
977
  break;
978
978
  }
979
979
  if ($mol_promise_like(result) && !handled.has(result)) {
980
- handled.add(result);
981
980
  const put = (res) => {
982
981
  if (this.cache === result)
983
982
  this.put(res);
984
983
  return res;
985
984
  };
986
- result = Object.assign(result.then(put, put), { destructor: result.destructor });
985
+ result = result.then(put, put);
987
986
  }
988
987
  }
989
988
  catch (error) {
@@ -994,11 +993,10 @@ var $;
994
993
  result = new Error(String(error), { cause: error });
995
994
  }
996
995
  if ($mol_promise_like(result) && !handled.has(result)) {
997
- handled.add(result);
998
- result = Object.assign(result.finally(() => {
996
+ result = result.finally(() => {
999
997
  if (this.cache === result)
1000
998
  this.absorb();
1001
- }), { destructor: result.destructor });
999
+ });
1002
1000
  }
1003
1001
  }
1004
1002
  if ($mol_promise_like(result) && !handled.has(result)) {