I2CP: fix NPE in QueuedClientConnectionRunner

This commit is contained in:
sponge
2011-02-10 19:47:30 +00:00
parent d8cff6c3e2
commit 8d15bb4a38
3 changed files with 6 additions and 3 deletions

View File

@ -1,3 +1,6 @@
2011-02-10 sponge
* I2CP: fix NPE in QueuedClientConnectionRunner
2011-02-10 zzz
* I2CP: Correctly close internal connections on the router side
when closed by the client, was causing massive memory leak

View File

@ -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 = 6;
public final static long BUILD = 7;
/** for example "-test" */
public final static String EXTRA = "";

View File

@ -17,7 +17,7 @@ import net.i2p.util.Log;
* @since 0.8.3
*/
class QueuedClientConnectionRunner extends ClientConnectionRunner {
private /* final */ I2CPMessageQueue queue;
private final I2CPMessageQueue queue;
/**
* Create a new runner with the given queues
@ -46,7 +46,7 @@ class QueuedClientConnectionRunner extends ClientConnectionRunner {
void stopRunning() {
super.stopRunning();
queue.close();
queue = null;
// queue = null;
}
/**