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

Henry Castro hcastro at collabora.com
Wed Nov 25 18:11:35 PST 2015


 loolwsd/LOOLSession.cpp |    1 -
 1 file changed, 1 deletion(-)

New commits:
commit d09951091ac1212d125eb2c94e25f5c98946572f
Author: Henry Castro <hcastro at collabora.com>
Date:   Wed Nov 25 22:09:06 2015 -0400

    loolwsd: avoid double child socket shutdown
    
    It was causing "broke pipe" exception.

diff --git a/loolwsd/LOOLSession.cpp b/loolwsd/LOOLSession.cpp
index c518ab5..d517651 100644
--- a/loolwsd/LOOLSession.cpp
+++ b/loolwsd/LOOLSession.cpp
@@ -719,7 +719,6 @@ ChildProcessSession::~ChildProcessSession()
     std::cout << Util::logPrefix() << "ChildProcessSession dtor this=" << this << std::endl;
     if (LIBREOFFICEKIT_HAS(_loKit, registerCallback))
         _loKit->pClass->registerCallback(_loKit, 0, 0);
-    Util::shutdownWebSocket(*_ws);
 }
 
 bool ChildProcessSession::handleInput(const char *buffer, int length)


More information about the Libreoffice-commits mailing list