Fix excessive logging when a session hard quits very early on.
Pass the proper 'disconnect' message to the Kit so it can close the underlying window / resource for the view. Potentially this also removes 'phantom' users in the user-list which might be another symptom of this issue. Signed-off-by: Michael Meeks <michael.meeks@collabora.com> Change-Id: Ib0d0c5cefa7033fff5827d0a825a932cc12f8323pull/9113/head
parent
49fecba982
commit
d016690e09
|
@ -170,7 +170,7 @@ bool ClientSession::disconnectFromKit()
|
|||
{
|
||||
assert(_state != SessionState::WAIT_DISCONNECT);
|
||||
auto docBroker = getDocumentBroker();
|
||||
if (_state == SessionState::LIVE && docBroker)
|
||||
if (docBroker && (_state == SessionState::LIVE || _state == SessionState::LOADING))
|
||||
{
|
||||
setState(SessionState::WAIT_DISCONNECT);
|
||||
|
||||
|
|
Loading…
Reference in New Issue