fixup after prop

This commit is contained in:
zzz
2015-06-08 22:14:49 +00:00
parent 099515adff
commit cbc2f899a6

View File

@@ -679,9 +679,10 @@ class ClientManager {
continue; continue;
if (runner.isDead()) if (runner.isDead())
continue; continue;
if (runner.getConfig() == null) SessionConfig cfg = runner.getPrimaryConfig();
if (cfg == null)
continue; // simple session or no session yet continue; // simple session or no session yet
if (runner.getLeaseSet() == null) if (runner.getLeaseSet(cfg.getDestination().calculateHash()) == null)
continue; // don't confuse client while waiting for CreateLeaseSet msg continue; // don't confuse client while waiting for CreateLeaseSet msg
try { try {
// only send version if the client can handle it (0.8.7 or greater) // only send version if the client can handle it (0.8.7 or greater)