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
Describe the bug: IDLE watchers accumulate over time. When switching accounts or reconnecting, old goroutines may not terminate properly. No cleanup verification in StopAllAndWait().
To reproduce:
Connect to IMAP account with IDLE enabled
Switch accounts multiple times
Monitor goroutines - count increases
Old IDLE watchers remain active
Expected behavior: All goroutines should terminate when StopAll() called. Verify with goroutine count decrease.
Describe the bug: IDLE watchers accumulate over time. When switching accounts or reconnecting, old goroutines may not terminate properly. No cleanup verification in StopAllAndWait().
To reproduce:
Expected behavior: All goroutines should terminate when StopAll() called. Verify with goroutine count decrease.
Additional context: