netty5/common/src
Norman Maurer abefbd7071 Do not schedule notify task if there are no listeners attached to the promise. (#8797)
Motivation:

If there are no listeners attached to the promise when full-filling it we do not need to schedule a task to notify.

Modifications:

- Don't schedule a task if there is nothing to notify.
- Add unit tests.

Result:

Fixes https://github.com/netty/netty/issues/8795.
2019-01-31 08:57:11 +01:00
..
main Do not schedule notify task if there are no listeners attached to the promise. (#8797) 2019-01-31 08:57:11 +01:00
test Do not schedule notify task if there are no listeners attached to the promise. (#8797) 2019-01-31 08:57:11 +01:00