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:
parent
b2cd9a9eec
commit
1f9779cdcd
1 changed files with 2 additions and 3 deletions
|
@ -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…
Reference in a new issue