I have some code where I want to close my session and not return from the
current method until the close is complete. I wrote something similar to...
 
iosession.close().join();
 
This code is called during a session's exceptionCaught filter chain
invocation. The problem is that the callback happens in the socket io
processor thread and the thread blocks in the join() operation so the close
future status never set.
 
Am I doing something incorrect here or is this a bug? The code fragment
described above is also called from application threads (without blocking
indefinitely, as expected). Any advice?
 
Thanks,
 
Steve
 

Reply via email to