Changeset e68fbc0


Ignore:
Timestamp:
Feb 10, 2011 5:08:10 PM (9 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
03bc4fc
Parents:
fc38d54
Message:

remove debug nulling, was causing NPE at session close

Location:
core/java/src/net/i2p
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • core/java/src/net/i2p/data/i2cp/I2CPMessageReader.java

    rfc38d54 re68fbc0  
    198198            }
    199199            _stream = null;
    200             _listener = null;
    201             _reader = null;
    202             _readerThread = null;
    203200        }
    204201    }
  • core/java/src/net/i2p/internal/QueuedI2CPMessageReader.java

    rfc38d54 re68fbc0  
    1212 */
    1313public class QueuedI2CPMessageReader extends I2CPMessageReader {
    14     private /* final */ I2CPMessageQueue in;
     14    private final I2CPMessageQueue in;
    1515
    1616    public QueuedI2CPMessageReader(I2CPMessageQueue in, I2CPMessageEventListener lsnr) {
    1717        super(lsnr);
    1818        this.in = in;
    19         _reader = null;
    20         _readerThread = null;
    2119        _reader = new QueuedI2CPMessageReaderRunner();
    2220        _readerThread = new I2PThread(_reader, "I2CP Internal Reader " + (++__readerId), true);
     
    6260                }
    6361            }
    64             super.run(); // Since we are dead, this will do some clean up, nothing else :-)
    65             in = null;
    66             _readerThread = null;
    67             _reader = null;
    6862        }
    6963    }
Note: See TracChangeset for help on using the changeset viewer.