Skip to content

Commit

Permalink
fix: Terminating a subscription now also closes the async iterator.
Browse files Browse the repository at this point in the history
  • Loading branch information
TylerBloom committed Mar 12, 2024
1 parent 4548123 commit c7e514c
Show file tree
Hide file tree
Showing 3 changed files with 565 additions and 539 deletions.
5 changes: 5 additions & 0 deletions .changeset/bright-needles-suffer.md
@@ -0,0 +1,5 @@
---
"@apollo/server": patch
---

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 comments on commit c7e514c

Please sign in to comment.