未验证 提交 d1169afa 编写于 作者: C chengduo 提交者: GitHub

remove InstallFailureSignalHandler (#17828)

test=develop
上级 43752047
...@@ -206,9 +206,6 @@ void InitGLOG(const std::string &prog_name) { ...@@ -206,9 +206,6 @@ void InitGLOG(const std::string &prog_name) {
// glog will not hold the ARGV[0] inside. // glog will not hold the ARGV[0] inside.
// Use strdup to alloc a new string. // Use strdup to alloc a new string.
google::InitGoogleLogging(strdup(prog_name.c_str())); google::InitGoogleLogging(strdup(prog_name.c_str()));
#ifndef _WIN32
google::InstallFailureSignalHandler();
#endif
} }
#if defined(PADDLE_WITH_DGC) #if defined(PADDLE_WITH_DGC)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册