From cdb5610d90c087bc466215db080e227d3cf8e358 Mon Sep 17 00:00:00 2001 From: jeff Date: Wed, 9 Oct 2019 09:10:48 -0400 Subject: [PATCH] close async --- llarp/context.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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(); }