Skip to content

Commit

Permalink
* NTCP: Fix startup race NPE
Browse files Browse the repository at this point in the history
  • Loading branch information
zzz committed Jun 9, 2009
1 parent be52b59 commit a08dd4a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
3 changes: 3 additions & 0 deletions history.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
2009-06-09 zzz
* NTCP: Fix startup race NPE (thanks postman!)

2009-06-08 sponge
* Last commit for this cycle. All debugging except for WARN removed.
I can use the visit command to debug now anyway.
Expand Down
2 changes: 1 addition & 1 deletion router/java/src/net/i2p/router/RouterVersion.java
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public class RouterVersion {
/** deprecated */
public final static String ID = "Monotone";
public final static String VERSION = CoreVersion.VERSION;
public final static long BUILD = 18;
public final static long BUILD = 19;
/** for example "-test" */
public final static String EXTRA = "-rc";
public final static String FULL_VERSION = VERSION + "-" + BUILD + EXTRA;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@ public void start() {
}

public void stop() {
_executor.shutdownNow();
if (_executor != null)
_executor.shutdownNow();
}

public void add(OutNetMessage msg) {
Expand Down

0 comments on commit a08dd4a

Please sign in to comment.