* Stop the periodic write timer.
()
| 949 | * Stop the periodic write timer. |
| 950 | */ |
| 951 | function stopWriteInterval(): void { |
| 952 | if (staleSpanCleanupId) { |
| 953 | clearInterval(staleSpanCleanupId) |
| 954 | staleSpanCleanupId = null |
| 955 | } |
| 956 | if (writeIntervalId) { |
| 957 | clearInterval(writeIntervalId) |
| 958 | writeIntervalId = null |
| 959 | } |
| 960 | } |
| 961 | |
| 962 | /** |
| 963 | * Force-close any remaining open spans at session end. |
no outgoing calls
no test coverage detected