提交 5a51484b 编写于 作者: L ly 提交者: MizuhaHimuraki

fix: coredump when port num conflict

caused by ObLogger distruct after main(), some static instance that rely on may be destruct first
上级 4a92b6d7
...@@ -498,5 +498,6 @@ int main(int argc, char* argv[]) ...@@ -498,5 +498,6 @@ int main(int argc, char* argv[])
LOG_INFO("observer is exit"); LOG_INFO("observer is exit");
OB_LOGGER.set_stop_append_log(); OB_LOGGER.set_stop_append_log();
OB_LOGGER.destroy();
return ret; return ret;
} }
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册