fa1dedcc0f
Motivation: In the current implementation, the synchronous close() method for FixedChannelPool returns after scheduling the channels to close via a single threaded executor asynchronously. Closing a channel requires event loop group, however, there might be a scenario when the application has closed the event loop group after the sync close() completes. In this scenario an exception is thrown (event loop rejected the execution) when the single threaded executor tries to close the channel. Modifications: Complete the close function only after all the channels have been close and introduce closeAsync() method for cases when the current/existing behaviour is desired. Result: Close function would completely when the channels have been closed |
||
---|---|---|
.. | ||
src | ||
pom.xml |