Closed michaelbeaumont closed 3 years ago
This one's pretty unlucky.
Closing the outQueue
channel already triggers the setConnected(false)
, although with scheduling in between.
You might even want to move this statement above the close statement, just to be on the safe side.
True, updated.
Prevents the following panic:
which is due to
handleIncomingRequest
being called after we've calledStop
and it callingSendResponse
and thenWrite