mirror of
https://github.com/i2p/i2p.i2p.git
synced 2026-10-23 10:52:57 +00:00
fix race NPE
This commit is contained in:
1 parent
becc6dc0fc
commit
4139b36eac
1 file changed
+2
-2
@@ -59,10 +59,10 @@ class CreateSessionJob extends JobImpl {
|
||||
// XXX props.putAll(Router.getInstance().getConfigMap());
|
||||
|
||||
// override them by the client's settings
|
||||
props.putAll(_runner.getConfig().getOptions());
|
||||
props.putAll(cfg.getOptions());
|
||||
|
||||
// and load 'em up (using anything not yet set as the software defaults)
|
||||
settings.readFromProperties(props);
|
||||
getContext().tunnelManager().buildTunnels(_runner.getConfig().getDestination(), settings);
|
||||
getContext().tunnelManager().buildTunnels(cfg.getDestination(), settings);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user