Closed chrhlnd closed 9 years ago
LGTM.
Can you fill this patch as pull request?
Was this ever resolved?
Haven't had time to issue a patch on this. This small patch here isn't completely correct eaither, due to lastUsed being allocated somewhere else (last I remember) and being defaulted to nil. When the other allocation is used then the connection will hang because sending on a nil channel does that.
A better patch would be to rename the variable to get the compiler to list the locations of it, then make sure the channel is always allocated then do some testing.
Last time is being accessed and written too without a barrier. I had it spam me in testing.