Server: handle race condition on connection shutdown

Authored by dvratil on Jul 5 2018, 12:14 PM.

Description

Server: handle race condition on connection shutdown

When client sends a command and disconnects immediatelly it is possible
that the Connection gets mostly torn down from a nested event loop
before we get back to the main loop in handleIncomingData(),
leading to m_socket being null when we try to access it.

BUG: 394071
FIXED-IN: 5.8.3

Details

Committed
dvratilJul 5 2018, 12:15 PM
Parents
R165:fd47fa73993d: ActionStateManager: separate selected collections from favorites.
Branches
Unknown
Tags
Unknown