We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8d575ee + 6602b77 commit e396f58Copy full SHA for e396f58
array.go
@@ -11,6 +11,7 @@ import "C"
11
import (
12
"encoding/json"
13
"fmt"
14
+ "runtime"
15
"unsafe"
16
)
17
@@ -200,6 +201,8 @@ func (a *Array) Consolidate(config *Config) error {
200
201
if ret != C.TILEDB_OK {
202
return fmt.Errorf("Error consolidating tiledb array: %s", a.context.LastError())
203
}
204
+
205
+ runtime.KeepAlive(config)
206
return nil
207
208
@@ -215,6 +218,8 @@ func (a *Array) Vacuum(config *Config) error {
215
218
216
219
return fmt.Errorf("Error vacuumimg tiledb array: %s", a.context.LastError())
217
220
221
222
223
224
225
0 commit comments