Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-111161

QBluetoothDeviceDiscoveryAgent stop makes the application unable to properly terminate

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2: Important
    • 6.2.7, 6.4.2
    • 6.3.0
    • None
    • This has been tested on windows 11
    • Windows

    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).

       

       

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            ivan.solovev Ivan Solovev
            purcola Pablo Urcola
            Vladimir Minenko Vladimir Minenko
            Alex Blasche Alex Blasche
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes