Thanks for the reply I tried that, but disposing the ioService might block my thread as well
Guy -----Original Message----- From: Emmanuel Lécharny [mailto:elecha...@gmail.com] Sent: Monday, January 04, 2016 2:56 PM To: users@mina.apache.org Subject: Re: destroying mina gracefully Le 04/01/16 13:17, Guy Itzhaki a écrit : > Hi all, > I'm using mina 2.0.9 server in my application and I wonder what is the best > way to terminate mina? Usually, by disposing the IoService : /** * Releases any resources allocated by this service. Please note that * this method might block as long as there are any sessions managed by * this service. */ void dispose();