Glacier2/simpleChat detects dead router on shutdown
Closed this issue · 2 comments
bentoi commented
When killing the simpleChat server:
./server
^CDetected dead router - destroying all associated sessions
The close callback should check the connection's exception and only print this message if the exception is not ObjectAdapterDeactivationException
pepone commented
@bentoi how can we get the exception here? the exception is not passed to the connection close callback
bentoi commented
The close callback could throw the connection's exception with Connection::throwException
.