Hi again,

in the meantime I probably figured out where the problem is, but still have to do some more teststo be sure. I now have added logic to iterate over the managed sessions of an IoConnector and close them before calling IoConnector.dispose().

I will let you know if this solved the problem.

Thanks,
Chris.

On 16/10/17 16:20, Jonathan Valliere wrote:
If you can figure out a reproducible test case then I'm sure that we can fix it.

On Mon, Oct 16, 2017 at 10:01 AM Christoph John <[email protected] <mailto:[email protected]>> wrote:

    Hi Emmanuel,

    yes, but unfortunately it did not help.

    Thanks,
    Chris.


    On 16/10/17 15:41, Emmanuel Lécharny wrote:
    > Hi Christoph,
    >
    >
    > have you tried with this patch ? :
    >
    >
    > diff --git
    > 
a/mina-core/src/main/java/org/apache/mina/core/polling/AbstractPollingIoProcessor.java
    > 
b/mina-core/src/main/java/org/apache/mina/core/polling/AbstractPollingIoProcessor.java
    > index 50ebd4e..575b2f4 100644
    > ---
    > 
a/mina-core/src/main/java/org/apache/mina/core/polling/AbstractPollingIoProcessor.java
    > +++
    > 
b/mina-core/src/main/java/org/apache/mina/core/polling/AbstractPollingIoProcessor.java
    > @@ -695,8 +695,9 @@
    >                           for (Iterator<S> i = allSessions(); 
i.hasNext();) {
    >                               IoSession session = i.next();
    >
    > +                            scheduleRemove((S) session);
    > +
    >                               if (session.isActive()) {
    > -                                scheduleRemove((S) session);
    >                                   hasKeys = true;
    >                               }
    >                           }
    >
    >


--
Christoph John
Development & Support
T +49 241 557080-28
[email protected]

MACD GmbH
Oppenhoffallee 103
D-52066 Aachen
www.macd.com

Amtsgericht Aachen: HRB 8151
Ust.-Id: DE 813021663
Geschäftsführer: George Macdonald

Reply via email to