From 3fa24d90879dbd05f52e51bcf7340ebedea31c55 Mon Sep 17 00:00:00 2001 From: kpango Date: Mon, 12 Oct 2020 18:32:13 +0900 Subject: [PATCH] patch add more effective Close function for internal/core Signed-off-by: kpango --- internal/core/ngt/ngt.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/internal/core/ngt/ngt.go b/internal/core/ngt/ngt.go index 0593a16c52..68945e43fa 100644 --- a/internal/core/ngt/ngt.go +++ b/internal/core/ngt/ngt.go @@ -534,5 +534,7 @@ func (n *ngt) Close() { C.ngt_close_index(n.index) C.ngt_destroy_error_object(n.ebuf) n.index = nil + n.prop = nil + n.ospace = nil } }