netty/netty — Issue #175: OMATPE will leak child executors if something else then the Channel is used as key
Author: normanmaurer
Created: 2012-02-03 14:47:07+00:00
State: open

In OMATPE we create a ChildExecutor per event if non exist yet. By default we use the Channel to store the reference to it for later usage. Once a Channel disconnect we need to remove the ChildExecutor from memory to make sure we don't leak memory. This is done by passing the Channel as key to the ConcurrentMap. This works in our implementation but will fail if the user use something else then the Channel as key.