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

New commits:
commit e977667754ba34b83ba0259d6568aa88ae5995df
Author: Michael Meeks <michael.me...@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)
             {
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to