[Libreoffice-commits] online.git: common/Unit.cpp

Tor Lillqvist (via logerrit) logerrit at kemper.freedesktop.org
Mon Feb 24 07:54:40 UTC 2020


 common/Unit.cpp |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit f49aa533e0eb06b6e7afecf2dcc631f2843d116c
Author:     Tor Lillqvist <tml at collabora.com>
AuthorDate: Mon Feb 24 09:12:38 2020 +0200
Commit:     Tor Lillqvist <tml at collabora.com>
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 <tml at collabora.com>
    Reviewed-by: Tor Lillqvist <tml at collabora.com>

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();
 }
 


More information about the Libreoffice-commits mailing list