cliskill 1.1.7 → 1.1.8
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/bootstrap/cli.js
CHANGED
|
@@ -4007,6 +4007,7 @@ function createChildAbortController(parent, maxListeners) {
|
|
|
4007
4007
|
const weakParentRef = new WeakRef(parent);
|
|
4008
4008
|
const handler = () => {
|
|
4009
4009
|
const p = weakParentRef.deref();
|
|
4010
|
+
if (!p) return;
|
|
4010
4011
|
const signal = p instanceof AbortController ? p.signal : p.signal;
|
|
4011
4012
|
weakChild.deref()?.abort(signal.reason);
|
|
4012
4013
|
};
|
|
@@ -4015,6 +4016,7 @@ function createChildAbortController(parent, maxListeners) {
|
|
|
4015
4016
|
"abort",
|
|
4016
4017
|
() => {
|
|
4017
4018
|
const p = weakParentRef.deref();
|
|
4019
|
+
if (!p) return;
|
|
4018
4020
|
const signal = p instanceof AbortController ? p.signal : p.signal;
|
|
4019
4021
|
signal.removeEventListener("abort", handler);
|
|
4020
4022
|
},
|
|
@@ -12288,4 +12290,4 @@ export {
|
|
|
12288
12290
|
MCPConnectionManager,
|
|
12289
12291
|
runCli
|
|
12290
12292
|
};
|
|
12291
|
-
//# sourceMappingURL=chunk-
|
|
12293
|
+
//# sourceMappingURL=chunk-6IZLJMAL.js.map
|