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

New commits:
commit da3b1b208aefc734c856492db1078e1804702b4e
Author: Ashod Nakashian <[email protected]>
Date:   Wed Nov 30 20:23:14 2016 -0500

    loolwsd: alertAllUsersInternal expects lock to be taken
    
    Change-Id: I50a4d0edd500043c52c28aba3e61ba2a892c102d
    Reviewed-on: https://gerrit.libreoffice.org/31459
    Reviewed-by: Ashod Nakashian <[email protected]>
    Tested-by: Ashod Nakashian <[email protected]>

diff --git a/wsd/LOOLWSD.cpp b/wsd/LOOLWSD.cpp
index 3e56c67..860e7a3 100644
--- a/wsd/LOOLWSD.cpp
+++ b/wsd/LOOLWSD.cpp
@@ -291,6 +291,8 @@ static void forkChildren(const int number)
         if (!fs.empty())
         {
             LOG_WRN("File system of " << fs << " dangerously low on disk 
space");
+
+            std::unique_lock<std::mutex> DocBrokersLock(DocBrokersMutex);
             alertAllUsersInternal("error: cmd=internal kind=diskfull");
         }
 
_______________________________________________
Libreoffice-commits mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to