Skip to content

Commit

Permalink
Merge pull request #472 from ChIoT-Tech/master
Browse files Browse the repository at this point in the history
Resolve issue introduced in pull request #470 (missing continue).
  • Loading branch information
MattBrittan authored Dec 21, 2020
2 parents fbe4d12 + 2d6fd16 commit cef02e8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions client.go
Original file line number Diff line number Diff line change
Expand Up @@ -530,6 +530,7 @@ func (c *client) startCommsWorkers(conn net.Conn, inboundFromStore <-chan packet
if !ok {
ackOut = nil // ignore channel going forward
c.workers.Done() // matchAndDispatch has completed
continue // await next message
}
commsoboundP <- msg
case <-c.stop:
Expand Down

0 comments on commit cef02e8

Please sign in to comment.