From 1d3122d11c8eb86e70f3cf638c078e378e8841fd Mon Sep 17 00:00:00 2001 From: Michael Bayne Date: Mon, 11 Aug 2008 20:19:28 +0000 Subject: [PATCH] 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 --- .../threerings/presents/client/BlockingCommunicator.java | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/java/com/threerings/presents/client/BlockingCommunicator.java b/src/java/com/threerings/presents/client/BlockingCommunicator.java index 39a948ea7..10654f661 100644 --- a/src/java/com/threerings/presents/client/BlockingCommunicator.java +++ b/src/java/com/threerings/presents/client/BlockingCommunicator.java @@ -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) } }