libroot: abort() should behave like a crash, not just a 'failure' exit.

Calling debugger() means that the crash dialog will be shown, and so
users will not be left wondering why an app just spontenously disappeared.
This commit is contained in:
Augustin Cavalier
2017-04-14 16:07:02 -04:00
parent 302f451214
commit a5d208c7d6
+1 -1
View File
@@ -289,7 +289,7 @@ abort()
fprintf(stderr, "Abort\n");
raise(SIGABRT);
exit(EXIT_FAILURE);
debugger("abort() called");
}