Open dimchansky opened 3 years ago
It duplicates #36 , but also fixes potential dead-lock issue. If for some reason for/select loop exits before preLoop() returns non-nil error, then writing to channel errors <- err will hang forever.
preLoop()
errors <- err
It duplicates #36 , but also fixes potential dead-lock issue. If for some reason for/select loop exits before
preLoop()
returns non-nil error, then writing to channelerrors <- err
will hang forever.