mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-23 17:36:37 +02:00
init addressbook first
This commit is contained in:
parent
da82b14307
commit
ff6d66b96e
1 changed files with 3 additions and 2 deletions
|
@ -40,6 +40,9 @@ namespace client
|
||||||
m_SharedLocalDestination->Start ();
|
m_SharedLocalDestination->Start ();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
m_AddressBook.Start ();
|
||||||
|
|
||||||
if ( m_ServiceThread == nullptr ) {
|
if ( m_ServiceThread == nullptr ) {
|
||||||
m_ServiceThread = new std::thread([&] () {
|
m_ServiceThread = new std::thread([&] () {
|
||||||
LogPrint(eLogInfo, "ClientContext: starting service");
|
LogPrint(eLogInfo, "ClientContext: starting service");
|
||||||
|
@ -48,8 +51,6 @@ namespace client
|
||||||
});
|
});
|
||||||
ScheduleCleanupUDP();
|
ScheduleCleanupUDP();
|
||||||
}
|
}
|
||||||
|
|
||||||
m_AddressBook.Start ();
|
|
||||||
|
|
||||||
std::shared_ptr<ClientDestination> localDestination;
|
std::shared_ptr<ClientDestination> localDestination;
|
||||||
bool httproxy; i2p::config::GetOption("httpproxy.enabled", httproxy);
|
bool httproxy; i2p::config::GetOption("httpproxy.enabled", httproxy);
|
||||||
|
|
Loading…
Add table
Reference in a new issue