* NTCP: Fix startup race NPE

This commit is contained in:
zzz
2009-06-09 03:06:18 +00:00
parent be52b5930c
commit a08dd4aefa
3 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,6 @@
2009-06-09 zzz
* NTCP: Fix startup race NPE (thanks postman!)
2009-06-08 sponge 2009-06-08 sponge
* Last commit for this cycle. All debugging except for WARN removed. * Last commit for this cycle. All debugging except for WARN removed.
I can use the visit command to debug now anyway. I can use the visit command to debug now anyway.

View File

@ -18,7 +18,7 @@ public class RouterVersion {
/** deprecated */ /** deprecated */
public final static String ID = "Monotone"; public final static String ID = "Monotone";
public final static String VERSION = CoreVersion.VERSION; public final static String VERSION = CoreVersion.VERSION;
public final static long BUILD = 18; public final static long BUILD = 19;
/** for example "-test" */ /** for example "-test" */
public final static String EXTRA = "-rc"; public final static String EXTRA = "-rc";
public final static String FULL_VERSION = VERSION + "-" + BUILD + EXTRA; public final static String FULL_VERSION = VERSION + "-" + BUILD + EXTRA;

View File

@ -42,6 +42,7 @@ public class NTCPSendFinisher {
} }
public void stop() { public void stop() {
if (_executor != null)
_executor.shutdownNow(); _executor.shutdownNow();
} }