mirror of
https://github.com/godotengine/godot.git
synced 2026-01-06 10:11:57 +03:00
Added a crash handler to dump the backtrace on Windows, Linux and OS X
This commit is contained in:
@@ -948,6 +948,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;
|
||||
@@ -999,6 +1003,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