@dxos/shell 0.4.8-main.d9be24a → 0.4.8-main.dcf422f
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/dist/bundle/shell.mjs +15 -10
- package/dist/bundle/shell.mjs.map +1 -1
- package/dist/bundle/shell.umd.js +1 -1
- package/dist/bundle/shell.umd.js.map +1 -1
- package/package.json +19 -19
package/dist/bundle/shell.mjs
CHANGED
|
@@ -67824,22 +67824,27 @@ var Cd = "/home/runner/work/dxos/dxos/packages/common/context/src/context.ts", y
|
|
|
67824
67824
|
if (this._disposePromise)
|
|
67825
67825
|
return this._disposePromise;
|
|
67826
67826
|
this._isDisposed = !0;
|
|
67827
|
-
|
|
67828
|
-
|
|
67829
|
-
n
|
|
67827
|
+
let n;
|
|
67828
|
+
this._disposePromise = new Promise((r) => {
|
|
67829
|
+
n = r;
|
|
67830
|
+
});
|
|
67831
|
+
const t = [], i = Array.from(this._disposeCallbacks).reverse();
|
|
67832
|
+
for (const r of i)
|
|
67833
|
+
t.push((async () => {
|
|
67830
67834
|
try {
|
|
67831
|
-
await
|
|
67832
|
-
} catch (
|
|
67833
|
-
Ye.catch(
|
|
67835
|
+
await r();
|
|
67836
|
+
} catch (a) {
|
|
67837
|
+
Ye.catch(a, void 0, {
|
|
67834
67838
|
F: Cd,
|
|
67835
|
-
L:
|
|
67839
|
+
L: 132,
|
|
67836
67840
|
S: this,
|
|
67837
|
-
C: (
|
|
67841
|
+
C: (o, s) => o(...s)
|
|
67838
67842
|
});
|
|
67839
67843
|
}
|
|
67840
67844
|
})());
|
|
67841
|
-
return this._disposeCallbacks.length = 0,
|
|
67842
|
-
|
|
67845
|
+
return this._disposeCallbacks.length = 0, Promise.all(t).then(() => {
|
|
67846
|
+
n();
|
|
67847
|
+
}), this._disposePromise;
|
|
67843
67848
|
}
|
|
67844
67849
|
/**
|
|
67845
67850
|
* Raise the error inside the context.
|