diff --git a/llarp/context.cpp b/llarp/context.cpp index e32f27cc5..061bdec22 100644 --- a/llarp/context.cpp +++ b/llarp/context.cpp @@ -249,7 +249,7 @@ __ ___ ____ _ _ ___ _ _ ____ } void - Context::Close() + Context::CloseAsync() { /// already closing if(closeWaiter) @@ -603,7 +603,7 @@ extern "C" { if(ptr == nullptr) return; - ptr->ctx->Close(); + ptr->ctx->CloseAsync(); ptr->ctx->Wait(); }