Fixes for remaining issues
This commit is contained in:
parent
8f1ed7588d
commit
a066873e37
1 changed files with 415 additions and 43 deletions
|
|
@ -173,7 +173,12 @@ export class RemoteSession {
|
|||
}
|
||||
|
||||
cancelRequestWait(requestId: string | number): void {
|
||||
const wait = this.requestWaits.get(requestId);
|
||||
if (!wait) {
|
||||
return;
|
||||
}
|
||||
this.requestWaits.delete(requestId);
|
||||
wait.reject(new Error("MCP request wait cancelled"));
|
||||
}
|
||||
|
||||
rejectActiveRequestWaits(error: Error): void {
|
||||
|
|
|
|||
Loading…
Reference in a new issue