Skip to content

Commit c7e514c

Browse files
committed
fix: Terminating a subscription now also closes the async iterator.
1 parent 4548123 commit c7e514c

File tree

3 files changed

+565
-539
lines changed

3 files changed

+565
-539
lines changed

.changeset/bright-needles-suffer.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@apollo/server": patch
3+
---
4+
5+
In the subscription callback server plugin, terminating a subscription now immediately closes the internal async generator. This avoids that generator existing after termination and until the next message is received.

0 commit comments

Comments
 (0)