예제 #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
}