Just switched over my code to 2.0, and having some issues with the changes - specifically, how do I shut down the server programmatically?

In the 1.0 code, I did this, and it seemed to be sufficient:

        acceptor.unbind();
        threadPool.shutdown();

Doesn't seem to work in the 2.0 code, though. Obviously there's some threads hanging somewhere, and there's some component that needs to be disposed or shut down to kill them, but I have no idea which.

Thanks,

DR

Reply via email to