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);
|
sendMessage(msg);
|
||||||
|
|
||||||
} catch (IOException ioe) {
|
} catch (IOException ioe) {
|
||||||
// let the communicator know if we have any problems
|
connectionFailed(ioe); // let the communicator know
|
||||||
connectionFailed(ioe);
|
super.shutdown(); // and bail immediately (which is why we call super)
|
||||||
// and bail
|
|
||||||
shutdown();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user