Remove notifications when releasing Conn to Pool

pull/111/head
Jack Christensen 2015-09-26 13:24:21 -05:00
parent 3857bab52e
commit 20cf4f87ab
1 changed files with 1 additions and 0 deletions

View File

@ -125,6 +125,7 @@ func (p *ConnPool) Release(conn *Conn) {
}
conn.channels = make(map[string]struct{})
}
conn.notifications = nil
p.cond.L.Lock()
if conn.IsAlive() {