Don't deadlock on closing while sending index (fixes #189)
This commit is contained in:
parent
20b23338f7
commit
abbb40abd2
|
@ -453,7 +453,7 @@ func (c *rawConnection) close(err error) {
|
|||
c.writer.Close()
|
||||
c.reader.Close()
|
||||
|
||||
c.receiver.Close(c.id, err)
|
||||
go c.receiver.Close(c.id, err)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue