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

QThread::isRunning returns false while the thread is still running

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2: Important
    • 6.8.4, 6.9.1, 6.10.0 FF
    • 6.8.2
    • Core: Threads
    • None
    • Windows 10
    • Windows
    • de90f2e06 (dev), 013793a78 (6.9), 9d576b3a7 (6.8)

    Description

      If a Qt object stucks in its destructor while a thread finishes, QThread::isRunning returns false while the thread is still running.

      Workaround. If QThread::isRunning returns false, call QThread::wait(0) also. If it returns false too, it means that the thread is still running.

      Attachments

        For Gerrit Dashboard: QTBUG-135163
        # Subject Branch Project Status CR V

        Activity

          People

            thiago Thiago Macieira
            alervd Alexander Dyagilev
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes