1
1
Fork 0
mirror of https://github.com/oxen-io/lokinet synced 2023-12-14 06:53:00 +01:00

Windows compilation fix

This commit is contained in:
Jason Rhinelander 2022-09-19 14:28:26 -03:00
parent b2cd9a9eec
commit 1f9779cdcd
No known key found for this signature in database
GPG key ID: C4992CE7A88D4262

View file

@ -375,11 +375,10 @@ namespace llarp::dns
runner = std::thread{[this]() {
while (running)
{
ub_wait(ctx);
ub_wait(m_ctx);
std::this_thread::sleep_for(10ms);
}
if (auto c = ctx.lock())
ub_process(c.get());
ub_process(m_ctx);
}};
#else
if (auto loop = m_Loop.lock())