diff options
author | Alex Clayton <alex.clayton@isode.com> | 2016-03-16 16:44:36 (GMT) |
---|---|---|
committer | Alex Clayton <alex.clayton@isode.com> | 2016-03-22 11:17:07 (GMT) |
commit | 59315e2f10c01451115b66b9f285e26735bbacbf (patch) | |
tree | 7832de56ec846d2652ba15bff93f0b1ffc47f463 /test | |
parent | f693c8e0fa9c6a051cdf6260f131db3d9355b49f (diff) | |
download | stroke-59315e2f10c01451115b66b9f285e26735bbacbf.zip stroke-59315e2f10c01451115b66b9f285e26735bbacbf.tar.bz2 |
Try to fix possible race condition in Connector and ProxiedConnection.
As per patch 'Fix possible race condition between Connection and
Connectors' (7eec2000d72f8fa597398704121d0b73a84ca284).
The issue occurs with ProxiedConnection that started connecting but do
not have an external reference anymore. As soon as the handlers of
the ProxiedConnection are disconnected from the signals of the
connection_ object, the remaining references to a shared
ProxiedConnection vanish and the ProxiedConnection is deleted, while
it still requires access to its members in
ProxiedConnection::handleConnectFinished().
Test-information: Unit tests pass ok.
Change-Id: I6c81009262dd51cda17b1b93a15edf968f40e464
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions