Don't deadlock on closing while sending index (fixes #189)
This commit is contained in:
@@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user