[Libreoffice-commits] online.git: wsd/LOOLWSD.cpp

Ashod Nakashian ashod.nakashian at collabora.co.uk
Thu Dec 1 06:00:19 UTC 2016


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

New commits:
commit da3b1b208aefc734c856492db1078e1804702b4e
Author: Ashod Nakashian <ashod.nakashian at collabora.co.uk>
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 <ashnakash at gmail.com>
    Tested-by: Ashod Nakashian <ashnakash at gmail.com>

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");
         }
 


More information about the Libreoffice-commits mailing list