You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by da...@apache.org on 2022/07/18 07:23:56 UTC
[doris] branch master updated: [Bug](be) fix be coredump when receive singal(#10903). (#10953)
This is an automated email from the ASF dual-hosted git repository.
dataroaring pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/master by this push:
new cc7c31b080 [Bug](be) fix be coredump when receive singal(#10903). (#10953)
cc7c31b080 is described below
commit cc7c31b0808b2114916d1b63ef4f36878a0c36fc
Author: Lei Zhang <10...@qq.com>
AuthorDate: Mon Jul 18 15:23:51 2022 +0800
[Bug](be) fix be coredump when receive singal(#10903). (#10953)
---
be/src/service/doris_main.cpp | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/be/src/service/doris_main.cpp b/be/src/service/doris_main.cpp
index ad24d92436..c746f07b76 100644
--- a/be/src/service/doris_main.cpp
+++ b/be/src/service/doris_main.cpp
@@ -496,11 +496,14 @@ int main(int argc, char** argv) {
delete be_server;
be_server = nullptr;
- delete engine;
- engine = nullptr;
+
delete heartbeat_thrift_server;
heartbeat_thrift_server = nullptr;
+
doris::ExecEnv::destroy(exec_env);
+
+ delete engine;
+ engine = nullptr;
return 0;
}
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org