summaryrefslogtreecommitdiff
path: root/lib/os
diff options
context:
space:
mode:
authorJose Fonseca <jfonseca@vmware.com>2016-08-27 19:26:19 +0100
committerJose Fonseca <jfonseca@vmware.com>2016-08-27 19:26:19 +0100
commit886e2aeefb352550831aa04643b817926bf7ef01 (patch)
treee98ea53b7caaa9494747d068a0238676ec1bd61b /lib/os
parent215515ee810d1bd5af408744365870437a75b700 (diff)
glxtrace: Intercept and flush on _exit.
As suggested in https://github.com/apitrace/apitrace/issues/479#issuecomment-239666769
Diffstat (limited to 'lib/os')
-rw-r--r--lib/os/os_posix.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/os/os_posix.cpp b/lib/os/os_posix.cpp
index 74594c3f..7b621dbd 100644
--- a/lib/os/os_posix.cpp
+++ b/lib/os/os_posix.cpp
@@ -285,7 +285,7 @@ long long timeFrequency = 0LL;
void
abort(void)
{
- _exit(1);
+ _Exit(1);
}