Reinstate the kick in the pants for the reader thread. Previously we relied on
the LogoffRequest being received by the server which resulted in the server closing its end of the socket which resulted in the reader being woken up to hear that its socket was closed and then it exited. We'll just have it exit immediately. It's possible that messages in transit to the reader that would have been read prior to full shutdown will now be dropped instead of delivered, but the client has already requested to logoff, so they can't really care about additional messages coming from the server. git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4960 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -501,7 +501,7 @@ public class BlockingCommunicator extends Communicator
|
||||
{
|
||||
// we want to interrupt the reader thread as it may be blocked listening to the socket;
|
||||
// this is only called if the reader thread doesn't shut itself down
|
||||
// interrupt();
|
||||
interrupt();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user