mirror of
https://github.com/mjl-/mox.git
synced 2025-07-10 09:54:40 +03:00
after a logout command, actually close the connection
reported by inigoserna in issue #30, thanks!
This commit is contained in:
@ -730,6 +730,9 @@ func (c *conn) command() {
|
||||
if x == nil || x == cleanClose {
|
||||
c.log.Debug("imap command done", logFields...)
|
||||
result = "ok"
|
||||
if x == cleanClose {
|
||||
panic(x)
|
||||
}
|
||||
return
|
||||
}
|
||||
err, ok := x.(error)
|
||||
|
Reference in New Issue
Block a user