Prevent crashes by fixing mapping of transport to wrapped objects


When an already-wrapped object was used by a secondary transport, the
mapping was not updated. This could then lead to crashes when the
transport was destroyed.

[ChangeLog][General] Fix crash when wrapped objects are
shared across multiple transports.

Task-number: QTBUG-62388
Change-Id: I3c3b7302205e10f04695f1a202325704d90950d2
Reviewed-by: Kai Dohmen <psykai1993@googlemail.com>
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@qt.io>
commit8d03b5fdb232ddb8b5d3b27fd7627401dbd154f8
parent65870525c01915fadaa322599b6f9064995d7762
authorMilian Wolff <milian.wolff@kdab.com>
committerFrederik Gladhorn <frederik.gladhorn@qt.io>
commit timeThu, 25 Oct 2018 15:47:29 +0000