Details

    • Technical task
    • Resolution: Fixed
    • P1: Critical
    • None
    • None
    • None
    • 1a6efa072 (dev), c95426619 (dev), b7f24ec07 (6.8), e4d553777 (6.8), 7c7b63f3e (dev), 9f8e49360 (dev), 35e027fb6 (6.9), 41047e8b2 (6.9), 93cdf9a01 (6.8), dca4361b9 (6.8)

    Description

      Currently we do a lot of initialization like storing references to classes in JNI_OnLoad. However, JNI_OnLoad only gets called once, when the library is loaded, so when those references get cleaned up when Qt is terminated once the Activity is destroyed, they don't get reinitialized when the Activity is recreated.

      Separate things that only need to happen once/in JNI_OnLoad, like registering the native methods, and the things that need to be done again when the Activity has been destroyed and then restarted, like initializing the variables and creating the Qt thread.

      Attachments

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

        Activity

          People

            tinjapaavoseppa Tinja Paavoseppä
            tinjapaavoseppa Tinja Paavoseppä
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: