[Libreoffice-commits] online.git: loolwsd/LOOLKit.cpp

Henry Castro hcastro at collabora.com
Wed May 11 23:47:00 UTC 2016


 loolwsd/LOOLKit.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 797e41ca56bfd8cac3718dfb4943a25132b233b0
Author: Henry Castro <hcastro at collabora.com>
Date:   Wed May 11 19:46:51 2016 -0400

    loolwsd: fix wrong condition

diff --git a/loolwsd/LOOLKit.cpp b/loolwsd/LOOLKit.cpp
index af05e17..309cc65 100644
--- a/loolwsd/LOOLKit.cpp
+++ b/loolwsd/LOOLKit.cpp
@@ -290,7 +290,7 @@ public:
                     return true;
                 },
                 [&session]() { session->closeFrame(); },
-                [&queueHandlerThread]() { return TerminationFlag && queueHandlerThread.isRunning(); });
+                [&queueHandlerThread]() { return TerminationFlag || !queueHandlerThread.isRunning(); });
 
             queue->clear();
             queue->put("eof");


More information about the Libreoffice-commits mailing list