You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-15 13:51:40 +00:00
Added a crash handler to dump the backtrace on Windows, Linux and OS X
This commit is contained in:
@@ -945,6 +945,10 @@ void ProjectManager::_open_project_confirm() {
|
||||
|
||||
args.push_back("-editor");
|
||||
|
||||
if (OS::get_singleton()->is_disable_crash_handler()) {
|
||||
args.push_back("--disable-crash-handler");
|
||||
}
|
||||
|
||||
String exec = OS::get_singleton()->get_executable_path();
|
||||
|
||||
OS::ProcessID pid = 0;
|
||||
@@ -985,6 +989,10 @@ void ProjectManager::_run_project_confirm() {
|
||||
args.push_back("-path");
|
||||
args.push_back(path);
|
||||
|
||||
if (OS::get_singleton()->is_disable_crash_handler()) {
|
||||
args.push_back("--disable-crash-handler");
|
||||
}
|
||||
|
||||
String exec = OS::get_singleton()->get_executable_path();
|
||||
|
||||
OS::ProcessID pid = 0;
|
||||
|
||||
Reference in New Issue
Block a user