Don't deadlock on closing while sending index (fixes #189)

This commit is contained in:
Jakob Borg 2014-05-11 21:35:44 -03:00
parent 20b23338f7
commit abbb40abd2
1 changed files with 1 additions and 1 deletions

View File

@ -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)
}
}