Roll this back - calling interrupt() in this way caused the other end's writer to get fairly upset.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4961 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -501,7 +501,11 @@ 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();
|
||||
|
||||
// While it would be nice to be able to handle wacky cases requiring reader-side
|
||||
// shutdown, doing so causes consternation on the other end's writer which suddenly
|
||||
// loses its connection. So, we rely on the writer side to take us down.
|
||||
// interrupt();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user