[Libreoffice-commits] online.git: kit/Kit.cpp
Michael Meeks
michael.meeks at collabora.com
Fri May 18 15:06:22 UTC 2018
kit/Kit.cpp | 6 ++++++
1 file changed, 6 insertions(+)
New commits:
commit c5cef26fb6dfa4153e7d7ef16eb3fd366696aebc
Author: Michael Meeks <michael.meeks at collabora.com>
Date: Fri May 18 16:05:36 2018 +0100
Shutdown kit process if connection dies.
Change-Id: I34e627a03a9859ccd3ae9f9925fe6ab080697b72
diff --git a/kit/Kit.cpp b/kit/Kit.cpp
index d7f4cc05b..b76dc1094 100644
--- a/kit/Kit.cpp
+++ b/kit/Kit.cpp
@@ -2092,6 +2092,12 @@ protected:
LOG_ERR("Bad or unknown token [" << tokens[0] << "]");
}
}
+
+ void onDisconnect() override
+ {
+ LOG_WRN("Kit connection lost without exit arriving from wsd");
+ TerminationFlag = true;
+ }
};
void documentViewCallback(const int type, const char* payload, void* data)
More information about the Libreoffice-commits
mailing list