Handle failure properly now that shutdown tries to finish up.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5307 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -709,10 +709,8 @@ public class BlockingCommunicator extends Communicator
|
||||
sendMessage(msg);
|
||||
|
||||
} catch (IOException ioe) {
|
||||
// let the communicator know if we have any problems
|
||||
connectionFailed(ioe);
|
||||
// and bail
|
||||
shutdown();
|
||||
connectionFailed(ioe); // let the communicator know
|
||||
super.shutdown(); // and bail immediately (which is why we call super)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user