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

probably got mangled in a patch

supposed to tick at the end
This commit is contained in:
Rick V 2020-03-19 00:04:06 -05:00
parent 5b1941222b
commit 938f40efe1
No known key found for this signature in database
GPG key ID: C0EDC8723FDC3465

View file

@ -191,9 +191,9 @@ tun_ev_loop(void* u)
// LeaveCriticalSection(&HandlerMtx); // LeaveCriticalSection(&HandlerMtx);
} }
logic->call_soon([ev]() { logic->call_soon([ev]() {
if (ev->t->tick) ev->flush_write();
if(ev->t->tick)
ev->t->tick(ev->t); ev->t->tick(ev->t);
ev->flush_write();
}); });
} }
llarp::LogDebug("exit TUN event loop thread from system managed thread pool"); llarp::LogDebug("exit TUN event loop thread from system managed thread pool");