mirror of
https://github.com/syncthing/syncthing.git
synced 2024-11-15 09:58:57 -07:00
Remove race / unnecessary check
This commit is contained in:
parent
4543bfb837
commit
673ab42c3c
@ -262,9 +262,6 @@ func (c *Connection) readerLoop() {
|
||||
|
||||
case messageTypeRequest:
|
||||
c.processRequest(hdr.msgID)
|
||||
if c.mreader.err != nil || c.mwriter.err != nil {
|
||||
c.close()
|
||||
}
|
||||
|
||||
case messageTypeResponse:
|
||||
data := c.mreader.readResponse()
|
||||
|
Loading…
Reference in New Issue
Block a user