Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.15, 6.2
-
None
-
-
246ed1d928 (qt/qtconnectivity/dev) e0852fed60 (qt/qtconnectivity/6.3) e0852fed60 (qt/tqtc-qtconnectivity/6.3) 246ed1d928 (qt/tqtc-qtconnectivity/dev) 48070b83d5 (qt/tqtc-qtconnectivity/5.15) 48070b83d5 (qt/tqtc-qtconnectivity/5.15.10)
Description
In some cases the service discovery agent crashes if the application calls stop() as soon as it has discovered a service of interest.
This seems to happen because the stop() releases the broadcast receiver object, but the code that sent the "serviceDiscovered" signal still uses the receiver after the signal emission (which by then is released by the apps signal handler/stop() call).