* TunnelPoolManager: Fix rare startup NPE (http://forum.i2p/viewtopic.php?t=5192)

This commit is contained in:
zzz
2010-12-11 13:31:23 +00:00
parent b55b552e06
commit 89b3e3bcb4

View File

@ -131,10 +131,14 @@ public class TunnelPoolManager implements TunnelManagerFacade {
if (info != null)
return info;
}
if (_inboundExploratory != null) {
info = _inboundExploratory.getTunnel(id);
if (info != null) return info;
}
if (_outboundExploratory != null) {
info = _outboundExploratory.getTunnel(id);
if (info != null) return info;
}
return null;
}