netty5/transport/src
Norman Maurer 339b512e70 Fix small race in DefaultChannelPipeline introduced by a729e0fcd9
Motivation:

There is a small race while adding handlers to the pipeline because callHandlerAddedForAllHandlers() may not be run when the user calls add* but the Channel is already registered.

Modifications:

Ensure we always delay handlerAdded(..) / handlerRemoved(...) until callHandlerAddedForAllHandlers() was called.

Result:

No more race on pipeline modifications possible.
2016-05-30 15:05:48 +02:00
..
main/java/io/netty Fix small race in DefaultChannelPipeline introduced by a729e0fcd9 2016-05-30 15:05:48 +02:00
test/java/io/netty Fix small race in DefaultChannelPipeline introduced by a729e0fcd9 2016-05-30 15:05:48 +02:00