Commit 05052f6
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 335e5a8 commit 05052f6
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
495 | 495 | | |
496 | 496 | | |
497 | 497 | | |
498 | | - | |
| 498 | + | |
499 | 499 | | |
500 | | - | |
| 500 | + | |
501 | 501 | | |
502 | 502 | | |
503 | 503 | | |
| |||
0 commit comments