diff options
-rw-r--r-- | session.go | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -237,9 +237,7 @@ func (sm *SessionManager) Put(username, password string) (*Session, error) { } } - if !timer.Stop() { - <-timer.C - } + timer.Stop() s.locker.Lock() if s.imapConn != nil { |