Closed glbrntt closed 1 year ago
Motivation:
The datagram tests use a handler which sets its event loop in channelRegistered. A function on the handler is called which relies on the EL being set. However, this can race: the function can be called before channelRegistered is called.
channelRegistered
Modifications:
handlerAdded
Result:
Fewer crashes
Motivation:
The datagram tests use a handler which sets its event loop in
channelRegistered
. A function on the handler is called which relies on the EL being set. However, this can race: the function can be called beforechannelRegistered
is called.Modifications:
handlerAdded
Result:
Fewer crashes