Merge commit '36c66dd290d3ce6eb1ccd310d0c658d4a32bb8eb' as 'repos/effect'
This commit is contained in:
10
repos/effect/.changeset/fix-devtools-flush-on-teardown.md
Normal file
10
repos/effect/.changeset/fix-devtools-flush-on-teardown.md
Normal file
@@ -0,0 +1,10 @@
|
||||
---
|
||||
"effect": patch
|
||||
---
|
||||
|
||||
Fix DevToolsClient not flushing final span events on teardown.
|
||||
|
||||
The stream consumer was `forkScoped`, causing it to be interrupted before
|
||||
it could drain remaining queue items. Replaced with `forkChild` and
|
||||
`Fiber.await` in the finalizer so the stream drains naturally after the
|
||||
queue is failed.
|
||||
Reference in New Issue
Block a user