[Libreoffice-commits] online.git: kit/Kit.cpp

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Mon Oct 15 22:11:29 UTC 2018


 kit/Kit.cpp |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

New commits:
commit ef3e09728fabcf5165c1f2afe85aa40f5709e17c
Author:     Tor Lillqvist <tml at collabora.com>
AuthorDate: Mon Oct 15 18:59:51 2018 +0300
Commit:     Tor Lillqvist <tml at collabora.com>
CommitDate: Tue Oct 16 01:03:47 2018 +0300

    Revert "Drop one use of TerminationFlag"
    
    Turns out not to be useful for the iOS app after all.
    
    This reverts commit bff5c176937543540c521882994900339a4191e7.
    
    Change-Id: I93367e9de1b6e66b1cbb7587259f1136564e53a4

diff --git a/kit/Kit.cpp b/kit/Kit.cpp
index c22fae469..d609fcb28 100644
--- a/kit/Kit.cpp
+++ b/kit/Kit.cpp
@@ -2433,12 +2433,12 @@ void lokit_main(
 
             if (document && document->purgeSessions() == 0)
             {
-                LOG_INF("Last session discarded. Breaking out of loop");
-                break;
+                LOG_INF("Last session discarded. Setting TerminationFlag");
+                TerminationFlag = true;
             }
         }
 
-        LOG_INF("Kit poll finished.");
+        LOG_INF("Kit poll terminated.");
 
         // Let forkit handle the jail cleanup.
     }


More information about the Libreoffice-commits mailing list