[Libreoffice-commits] online.git: loolwsd/MasterProcessSession.cpp
Henry Castro
hcastro at collabora.com
Mon Dec 28 12:43:16 PST 2015
loolwsd/MasterProcessSession.cpp | 5 +++++
1 file changed, 5 insertions(+)
New commits:
commit fdef57cba0ddfcac3e044f0c42262d5256bb4b1c
Author: Henry Castro <hcastro at 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)
More information about the Libreoffice-commits
mailing list