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

Deferred deletion in aboutToBlock/awake from an event dispatcher is broken

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P2: Important P2: Important
    • 5.7.0
    • 5.2.0
    • Core: Event loop
    • None

      see: https://codereview.qt-project.org/#change,67626 & tst_QCoreApplication::testDeferredDeleteFromAboutToBlock

      deletion doesn't work until the application exits, leading to massive memory leaks in e.g. QtWayland and xcb which both tie into the dispatcher's signals. probably third party code, too.

        1. broken_event_loop.cpp
          2 kB
          Robin Burchell
        For Gerrit Dashboard: QTBUG-36434
        # Subject Branch Project Status CR V

            thiago Thiago Macieira
            w00t Robin Burchell
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: