fix: coredump when port num conflict

caused by ObLogger distruct after main(), some static instance that rely on may be destruct first
This commit is contained in:
ly 2021-06-16 17:05:44 +08:00 committed by MizuhaHimuraki
parent 4a92b6d7df
commit 5a51484bf9

View File

@ -498,5 +498,6 @@ int main(int argc, char* argv[])
LOG_INFO("observer is exit");
OB_LOGGER.set_stop_append_log();
OB_LOGGER.destroy();
return ret;
}