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

Exit called right after initiating cleanup on activity restart

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P3: Somewhat important P3: Somewhat important
    • None
    • 6.8, 6.9, 6.10
    • QPA: Android
    • None
    • Android
    • 2025wk38s2QtforAndroid

      Under QtActivityBase.restartApplication(), there's a call to Runtime.getRuntime().exit(0) right after calling quitApp() which starts the Qt app cleanup and might involve some async operations, so calling exit() right after that might not really give enough time for the cleanup to happen.

      Occurs on activity re-start like orientation configuration change when coming on top from background or when activity is activated. Causes either restart or exit or stay in the white screen.

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

            qtandroidteam Qt Android Team
            assam Assam Boudjelthia
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes