[Libreoffice-commits] online.git: kit/Kit.cpp
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Mon Oct 15 15:49:23 UTC 2018
kit/Kit.cpp | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
New commits:
commit bff5c176937543540c521882994900339a4191e7
Author: Tor Lillqvist <tml at collabora.com>
AuthorDate: Mon Oct 15 16:56:00 2018 +0300
Commit: Tor Lillqvist <tml at collabora.com>
CommitDate: Mon Oct 15 17:59:40 2018 +0300
Drop one use of TerminationFlag
Doesn't help my current issue in the iOS app, but the less use of
TerminationFlag the better, I think. (Doesn't break 'make check' on
Linux.)
Change-Id: I8fef271d6e0e81dea92e0da76ecb7211239adab6
diff --git a/kit/Kit.cpp b/kit/Kit.cpp
index e726055dc..2c99d962c 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. Setting TerminationFlag");
- TerminationFlag = true;
+ LOG_INF("Last session discarded. Breaking out of loop");
+ break;
}
}
- LOG_INF("Kit poll terminated.");
+ LOG_INF("Kit poll finished.");
// Let forkit handle the jail cleanup.
}
More information about the Libreoffice-commits
mailing list