示例#1
0
文件: env.go 项目: cayleydb/dgraph
// Close deallocates the Env, freeing the underlying struct.
func (env *Env) Close() {
	C.rocksdb_env_destroy(env.Env)
}
示例#2
0
文件: env.go 项目: daaku/gorocksdb
// Release deallocates the Env object.
func (e *Env) Release() {
	C.rocksdb_env_destroy(e.c)
	e.c = nil
}
示例#3
0
文件: env.go 项目: C0rWin/fabric
// Destroy deallocates the Env object.
func (env *Env) Destroy() {
	C.rocksdb_env_destroy(env.c)
	env.c = nil
}
示例#4
0
文件: env.go 项目: butine/research
// Destroy deallocates the Env object.
func (self *Env) Destroy() {
	C.rocksdb_env_destroy(self.c)
	self.c = nil
}