loolwsd: avoid double child socket shutdown

This commit is contained in:
Henry Castro 2015-12-28 18:37:31 -04:00
parent d185f738ee
commit ceac0a24da

View file

@ -68,8 +68,6 @@ ChildProcessSession::~ChildProcessSession()
if (LIBREOFFICEKIT_HAS(_loKit, registerCallback)) if (LIBREOFFICEKIT_HAS(_loKit, registerCallback))
_loKit->pClass->registerCallback(_loKit, 0, 0); _loKit->pClass->registerCallback(_loKit, 0, 0);
Util::shutdownWebSocket(*_ws);
} }
bool ChildProcessSession::_handleInput(const char *buffer, int length) bool ChildProcessSession::_handleInput(const char *buffer, int length)