loolwsd/MasterProcessSession.cpp |    5 +++++
 1 file changed, 5 insertions(+)

New commits:
commit fdef57cba0ddfcac3e044f0c42262d5256bb4b1c
Author: Henry Castro <hcas...@collabora.com>
Date:   Mon Dec 28 16:40:32 2015 -0400

    loolwsd: close client websocket when abnormal close prison websocket

diff --git a/loolwsd/MasterProcessSession.cpp b/loolwsd/MasterProcessSession.cpp
index 8eb2bf5..5f00812 100644
--- a/loolwsd/MasterProcessSession.cpp
+++ b/loolwsd/MasterProcessSession.cpp
@@ -69,6 +69,11 @@ MasterProcessSession::~MasterProcessSession()
     {
         Util::shutdownWebSocket(*(peer->_ws));
     }
+    else
+    if (_kind == Kind::ToPrisoner && peer)
+    {
+        Util::shutdownWebSocket(*(peer->_ws));
+    }
 }
 
 bool MasterProcessSession::_handleInput(const char *buffer, int length)
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to