mirror of
https://github.com/mjl-/mox.git
synced 2024-12-27 08:53:48 +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 {
|
if x == nil || x == cleanClose {
|
||||||
c.log.Debug("imap command done", logFields...)
|
c.log.Debug("imap command done", logFields...)
|
||||||
result = "ok"
|
result = "ok"
|
||||||
|
if x == cleanClose {
|
||||||
|
panic(x)
|
||||||
|
}
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
err, ok := x.(error)
|
err, ok := x.(error)
|
||||||
|
|
Loading…
Reference in a new issue