aboutsummaryrefslogtreecommitdiff
path: root/src/IvyClient.java
diff options
context:
space:
mode:
authorjestin2002-09-27 17:26:26 +0000
committerjestin2002-09-27 17:26:26 +0000
commit55f376e0acf3a6dea0da68f480c945afa7952abb (patch)
tree3180395587fd45c9517f294cb7cbe548d0af736b /src/IvyClient.java
parent5c383e10a0fd1e6f742ba52895bb08a3965c1cc8 (diff)
downloadivy-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-xsrc/IvyClient.java5
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);