()
| 393 | } |
| 394 | |
| 395 | function stopTailing() { |
| 396 | if (state.tailTimer) { clearInterval(state.tailTimer); state.tailTimer = null; } |
| 397 | if (state.switchWatcher) { clearInterval(state.switchWatcher); state.switchWatcher = null; } |
| 398 | if (state.switchWatcherDelayTimer) { clearTimeout(state.switchWatcherDelayTimer); state.switchWatcherDelayTimer = null; } |
| 399 | if (state.expectingSwitchTimer) { clearTimeout(state.expectingSwitchTimer); state.expectingSwitchTimer = null; } |
| 400 | state.expectingSwitch = false; |
| 401 | state.pendingSwitchTarget = null; |
| 402 | state.pendingInitialClearTranscript = null; |
| 403 | state.tailRemainder = Buffer.alloc(0); |
| 404 | } |
| 405 | |
| 406 | // ============================================================ |
| 407 | // Session Scanner |
no outgoing calls
no test coverage detected