Fix jump over uninitialized value in OS Unix/X11
(cherry picked from commit 0bcf0314f7)
This commit is contained in:
committed by
Rémi Verschelde
parent
a028160522
commit
7434760380
@ -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