mirror of
https://github.com/mjl-/mox.git
synced 2024-12-26 16:33:47 +03:00
after a logout command, actually close the connection
reported by inigoserna in issue #30, thanks!
This commit is contained in:
parent
5b8efcc1d9
commit
dd0cede4f9
1 changed files with 3 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue