Windows compilation fix

pull/1969/head
Jason Rhinelander 2 years ago
parent b2cd9a9eec
commit 1f9779cdcd
No known key found for this signature in database
GPG Key ID: C4992CE7A88D4262

@ -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())

Loading…
Cancel
Save