clear another possible thread leak

This commit is contained in:
jrandom
2004-08-27 23:52:13 +00:00
committed by zzz
parent f57adc9cc4
commit 4eb5070753

View File

@ -449,7 +449,7 @@ class TCPConnection implements I2NPMessageReader.I2NPMessageEventListener {
private boolean _running;
public void run() {
_running = true;
while (_running) {
while (_running && !_closed) {
OutNetMessage nextMessage = getNext();
if (nextMessage != null) {
boolean sent = doSend(nextMessage);