diff options
author | jestin | 2002-09-27 17:26:26 +0000 |
---|---|---|
committer | jestin | 2002-09-27 17:26:26 +0000 |
commit | 55f376e0acf3a6dea0da68f480c945afa7952abb (patch) | |
tree | 3180395587fd45c9517f294cb7cbe548d0af736b /src/IvyClient.java | |
parent | 5c383e10a0fd1e6f742ba52895bb08a3965c1cc8 (diff) | |
download | ivy-java-55f376e0acf3a6dea0da68f480c945afa7952abb.zip ivy-java-55f376e0acf3a6dea0da68f480c945afa7952abb.tar.gz ivy-java-55f376e0acf3a6dea0da68f480c945afa7952abb.tar.bz2 ivy-java-55f376e0acf3a6dea0da68f480c945afa7952abb.tar.xz |
see TODO for details. Mostly bugfixes.
Diffstat (limited to 'src/IvyClient.java')
-rwxr-xr-x | src/IvyClient.java | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/IvyClient.java b/src/IvyClient.java index 3857631..d98bb0f 100755 --- a/src/IvyClient.java +++ b/src/IvyClient.java @@ -19,6 +19,9 @@ import gnu.regexp.*; * created for each remote client. * * CHANGELOG: + * 1.2.1: + * - removes a NullPointerException when stops pinging on a pinger that + * wasn't even started * 1.0.12: * - introducing a Ping and Pong in the protocol, in order to detect the loss of * connection faster. Enabled through the use of -DIVY_PING variable only @@ -152,7 +155,7 @@ public class IvyClient implements Runnable { */ void close(boolean notify) throws IOException { traceDebug("closing connexion to "+appName); - if (doping) { pinger.stopPinging(); } + if (doping&&(pinger!=null)) { pinger.stopPinging(); } if (notify) sendBye("hasta la vista"); stopListening(); // bus.clientDisconnect(this); |