[Libreoffice-commits] online.git: Branch 'private/Ashod/nonblocking' - wsd/LOOLWSD.cpp

Michael Meeks michael.meeks at collabora.com
Mon Mar 6 14:08:24 UTC 2017


 wsd/LOOLWSD.cpp |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit e977667754ba34b83ba0259d6568aa88ae5995df
Author: Michael Meeks <michael.meeks at collabora.com>
Date:   Mon Mar 6 14:07:49 2017 +0000

    Horror hack to avoid race for now.

diff --git a/wsd/LOOLWSD.cpp b/wsd/LOOLWSD.cpp
index cf9dc33..abed22d 100644
--- a/wsd/LOOLWSD.cpp
+++ b/wsd/LOOLWSD.cpp
@@ -2207,6 +2207,7 @@ private:
         auto docBroker = findOrCreateDocBroker(ws, url, docKey, _id, uriPublic);
         if (docBroker)
         {
+            sleep(1); // FIXME: horror hack - wait for the kit process ...
             _clientSession = createNewClientSession(ws, _id, uriPublic, docBroker, isReadOnly);
             if (_clientSession)
             {


More information about the Libreoffice-commits mailing list