QMetaObjectPublisher: Remove the transport state with the transport


transportState is a QHash keyed by the raw transport pointer. It holds
the "client is idle" flag and the outgoing message queue for each
transport. transportRemoved() did not erase the entry, thus the entry
outlived the transport that it describes.

Fixes: QTBUG-150200
Fixes: QTBUG-151078
Pick-to: 6.8 6.12
Change-Id: I583475524da16354bd072a47321ea8f76092d572
Reviewed-by: Magdalena Stojek <magdalena.stojek@qt.io>
commit1399230f7f8f75e41d7827fbcb3bc5eeb987bf3c
parent3546ce784e271c8599240cd0728ce8a0a72c0f27
authorArno Rehn <a.rehn@menlosystems.com>
committerArno Rehn <a.rehn@menlosystems.com>
commit timeFri, 2 Oct 2026 07:15:28 +0000