You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When client.close() is called, the log buffer is not flushed. The close() method in platform SDKs (node-core, deno) only removes the exit event listener but doesn't call _INTERNAL_flushLogsBuffer(this). This means pending logs can be lost if someone explicitly closes the client.
Proposed Solution
Add _INTERNAL_flushLogsBuffer(this) to the base Client.close() in packages/core/src/client.ts so all SDKs benefit automatically, rather than fixing it in each platform SDK individually.
Activity
linear commentedon Feb 16, 2026
JS-1726
Lms24 commentedon Feb 17, 2026
closing via #19313EDIT: reopened, I misread the PR
fix(core): Explicitly flush log buffer in `client.close()` (#19371)
github-actions commentedon Feb 24, 2026
A PR closing this issue has just been released 🚀
This issue was referenced by PR #19371, which was included in the 10.40.0 release.