* TransportManager: Fix fatal exception on soft restart caused by DHSKB refactoring

This commit is contained in:
zzz
2012-03-16 12:13:20 +00:00
parent f2a3d597dd
commit 080f435708

View File

@ -138,6 +138,7 @@ public class TransportManager implements TransportEventListener {
} }
public void startListening() { public void startListening() {
if (_dhThread.getState() == Thread.State.NEW)
_dhThread.start(); _dhThread.start();
// For now, only start UPnP if we have no publicly-routable addresses // For now, only start UPnP if we have no publicly-routable addresses
// so we don't open the listener ports to the world. // so we don't open the listener ports to the world.