diff --git a/llarp/handlers/exit.cpp b/llarp/handlers/exit.cpp index ae196080f..ca0b17e15 100644 --- a/llarp/handlers/exit.cpp +++ b/llarp/handlers/exit.cpp @@ -29,7 +29,7 @@ namespace llarp ExitHandlerFlush(llarp_tun_io* tun) { auto* ep = static_cast(tun->user); - LogicCall(ep->GetRouter()->logic(), std::bind(&ExitEndpoint::Flush, ep)); + ep->Flush(); } ExitEndpoint::ExitEndpoint(const std::string& name, AbstractRouter* r)