From ff6d66b96ed3ba90c008a43b11e994e509b2a7ec Mon Sep 17 00:00:00 2001 From: Jeff Becker Date: Sun, 21 Aug 2016 21:40:21 -0400 Subject: [PATCH] init addressbook first --- ClientContext.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ClientContext.cpp b/ClientContext.cpp index c031aae6..de06a465 100644 --- a/ClientContext.cpp +++ b/ClientContext.cpp @@ -40,6 +40,9 @@ namespace client m_SharedLocalDestination->Start (); } + + m_AddressBook.Start (); + if ( m_ServiceThread == nullptr ) { m_ServiceThread = new std::thread([&] () { LogPrint(eLogInfo, "ClientContext: starting service"); @@ -48,8 +51,6 @@ namespace client }); ScheduleCleanupUDP(); } - - m_AddressBook.Start (); std::shared_ptr localDestination; bool httproxy; i2p::config::GetOption("httpproxy.enabled", httproxy);