| commit | 00c876b1d16777586bc3e4b0c65da193489a7594 | [log] |
|---|---|---|
| author | Dennis Francis <dennis.francis@collabora.com> | Fri Jun 14 10:28:47 2019 +0530 |
| committer | Michael Stahl <Michael.Stahl@cib.de> | Mon Jun 17 14:33:41 2019 +0200 |
| tree | 1d9b67d8b215736a71e96c1478c71321a2a8698d | |
| parent | 1da4fb3d3438355c04ce616563422a6a51943c11 [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> (cherry picked from commit d39846bfd16ad9873795149c370a95f42363bfd9) Reviewed-on: https://gerrit.libreoffice.org/74153 Reviewed-by: Michael Stahl <Michael.Stahl@cib.de>
diff --git a/desktop/source/app/app.cxx b/desktop/source/app/app.cxx index c761938..3fb7b60 100644 --- a/desktop/source/app/app.cxx +++ b/desktop/source/app/app.cxx
@@ -1912,7 +1912,7 @@ class ExitTimer : public Timer } virtual void Invoke() override { exit(42); _exit(42); } };