You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-07 12:30:27 +00:00
Fix jump over uninitialized value in OS Unix/X11
This commit is contained in:
@@ -108,6 +108,7 @@ void OS_Unix::initialize_debugging() {
|
||||
|
||||
if (ScriptDebugger::get_singleton() != NULL) {
|
||||
struct sigaction action;
|
||||
memset(&action, 0, sizeof(action));
|
||||
action.sa_handler = handle_interrupt;
|
||||
sigaction(SIGINT, &action, NULL);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user