Skip to content
This repository was archived by the owner on Apr 24, 2022. It is now read-only.

Commit 0a0cb88

Browse files
authoredMar 13, 2020
fixing non responsive API
1 parent de80440 commit 0a0cb88

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎libapicore/ApiServer.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -268,8 +268,8 @@ void ApiServer::start()
268268

269269
cnote << "Api server listening on port " + to_string(m_acceptor.local_endpoint().port())
270270
<< (m_password.empty() ? "." : ". Authentication needed.");
271-
m_workThread = std::thread{boost::bind(&ApiServer::begin_accept, this)};
272271
m_running.store(true, std::memory_order_relaxed);
272+
m_workThread = std::thread{boost::bind(&ApiServer::begin_accept, this)};
273273
}
274274

275275
void ApiServer::stop()

0 commit comments

Comments
 (0)
This repository has been archived.