We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dac3d4e commit ff06d69Copy full SHA for ff06d69
packages/server/src/server/streamableHttp.ts
@@ -912,7 +912,7 @@ export class WebStandardStreamableHTTPServerTransport implements Transport {
912
913
// Snapshot and clear before iterating to avoid issues with
914
// cleanup callbacks that modify the map during iteration.
915
- const streams = Array.from(this._streamMapping.values());
+ const streams = [...this._streamMapping.values()];
916
this._streamMapping.clear();
917
this._requestResponseMap.clear();
918
0 commit comments