common/Unit.cpp | 2 ++
1 file changed, 2 insertions(+)
New commits:
commit f49aa533e0eb06b6e7afecf2dcc631f2843d116c
Author: Tor Lillqvist <[email protected]>
AuthorDate: Mon Feb 24 09:12:38 2020 +0200
Commit: Tor Lillqvist <[email protected]>
CommitDate: Mon Feb 24 08:54:22 2020 +0100
Fix iOS build (and maybe Android, too)
Change-Id: Id6645ce7fe0f70d7e7cec0059ad25624d1057ad5
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/89319
Tested-by: Tor Lillqvist <[email protected]>
Reviewed-by: Tor Lillqvist <[email protected]>
diff --git a/common/Unit.cpp b/common/Unit.cpp
index b34466c39..19cacc8aa 100644
--- a/common/Unit.cpp
+++ b/common/Unit.cpp
@@ -206,7 +206,9 @@ void UnitBase::exitTest(TestResult result)
LOG_INF("exitTest: " << (int)result << ". Flagging to shutdown.");
_setRetValue = true;
_retValue = result == TestResult::Ok ? EX_OK : EX_SOFTWARE;
+#if !MOBILEAPP
SigUtil::requestShutdown();
+#endif
SocketPoll::wakeupWorld();
}
_______________________________________________
Libreoffice-commits mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits