Also add already wrapped objects to the transport-to-objects map


Fixes a crash: Previously, when a connection was closed, the transport
was not removed from the list of transports of a wrapped objects. This
was because the transport was not added to the transport-to-object map
in the first place. When a property update was pushed, the now dangling
pointer to the "old" transport caused a crash.

Change-Id: Ib980f0b874851f8f85f7a3d76d51a2c884504b96
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@qt.io>
commitd14c6aa5855ebfb8bb624efd7817bb3cdd4c96e4
parent38b5128c63ba38303f0587e03536ed546c1f2eca
authorArno Rehn <a.rehn@menlosystems.com>
committerArno Rehn <a.rehn@menlosystems.com>
commit timeMon, 4 Feb 2019 15:24:32 +0000