summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorDennis Francis <dennis.francis@collabora.com>2019-06-14 10:28:47 +0530
committerMiklos Vajna <vmiklos@collabora.com>2019-06-17 08:44:11 +0200
commitd39846bfd16ad9873795149c370a95f42363bfd9 (patch)
tree728e5b62677a793f4d4058b8bcb7b45ebda1021f /desktop
parent068ea3105873d3500da9591bd40cc627c78eef3e (diff)
tdf#125691: use _exit() instead of exit()...
for ExitTimer which is used exclusively for the case when OOO_EXIT_POST_STARTUP is set, so that there is no waiting around for ThreadPool's threads to get joined. Setting OOO_EXIT_POST_STARTUP already evades any proper destruction of objects in the heap, so using _exit() instead of exit() here does not make things any worse w.r.t the purpose of this env var. Change-Id: Ib4a253d6e1a3fd8593e4a2115a51cf4c10344b3c Reviewed-on: https://gerrit.libreoffice.org/74016 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'desktop')
-rw-r--r--desktop/source/app/app.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop/source/app/app.cxx b/desktop/source/app/app.cxx
index bda1df98f6da..0867f6b5e82d 100644
--- a/desktop/source/app/app.cxx
+++ b/desktop/source/app/app.cxx
@@ -1911,7 +1911,7 @@ class ExitTimer : public Timer
}
virtual void Invoke() override
{
- exit(42);
+ _exit(42);
}
};