Browse Source

init addressbook first

pull/628/head
Jeff Becker 8 years ago
parent
commit
ff6d66b96e
No known key found for this signature in database
GPG Key ID: AB950234D6EA286B
  1. 5
      ClientContext.cpp

5
ClientContext.cpp

@ -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");
@ -49,8 +52,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);
if (httproxy) { if (httproxy) {

Loading…
Cancel
Save