提交 420ae737 编写于 作者: dengyihao's avatar dengyihao

Avoid creating the same ID task multiple times

上级 1571ea84
...@@ -128,7 +128,9 @@ void* streamBackendInit(const char* path) { ...@@ -128,7 +128,9 @@ void* streamBackendInit(const char* path) {
*/ */
streamStateOpenBackendCf(pHandle, (char*)path, cfs, nCf); streamStateOpenBackendCf(pHandle, (char*)path, cfs, nCf);
} }
if (cfs != NULL) {
rocksdb_list_column_families_destroy(cfs, nCf); rocksdb_list_column_families_destroy(cfs, nCf);
}
return (void*)pHandle; return (void*)pHandle;
_EXIT: _EXIT:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册