Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
6.3.0
-
None
-
This has been tested on windows 11
Description
When the discovery agent is looking for devices (only tested for LE devices) is stopped using the stop slot, then the application is unable to terminate properly.
The minimal progam attached ([^discovery.cpp]reproduces the problem. When called with no parameters, the discovery is not cancelled and the finished() signal is received, the application terminates as expected.
But when the program is configured to perform an early discovery cancelation (calling the stop() slot), then the application seem to run all the code in the main function but the application never terminates (keeps alive forever).