Commit 228c2be
committed
Fix telemetry aggregator cleanup in client close
Changed from flush() to close() to ensure:
- Periodic flush timer is stopped
- Incomplete statements are finalized
- Final flush is performed
Previously, only flush() was called which left the timer running
and didn't complete remaining statements.1 parent c2daa4b commit 228c2be
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
494 | 494 | | |
495 | 495 | | |
496 | 496 | | |
497 | | - | |
| 497 | + | |
498 | 498 | | |
499 | | - | |
| 499 | + | |
500 | 500 | | |
501 | 501 | | |
502 | 502 | | |
| |||
0 commit comments