Changeset b9af4a8


Ignore:
Timestamp:
Oct 27, 2010 1:25:13 PM (9 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
983e768
Parents:
f239d4f
Message:

avoid rare transport NPE at startup

File:
1 edited

Legend:

Unmodified
Added
Removed
  • router/java/src/net/i2p/router/transport/CommSystemFacadeImpl.java

    rf239d4f rb9af4a8  
    137137    @Override
    138138    public boolean isBacklogged(Hash dest) {
    139         return _manager.isBacklogged(dest);
     139        return _manager != null && _manager.isBacklogged(dest);
    140140    }
    141141   
    142142    @Override
    143143    public boolean isEstablished(Hash dest) {
    144         return _manager.isEstablished(dest);
     144        return _manager != null && _manager.isEstablished(dest);
    145145    }
    146146   
    147147    @Override
    148148    public boolean wasUnreachable(Hash dest) {
    149         return _manager.wasUnreachable(dest);
     149        return _manager != null && _manager.wasUnreachable(dest);
    150150    }
    151151   
Note: See TracChangeset for help on using the changeset viewer.