Uploaded image for project: 'Apache Flex'
  1. Apache Flex
  2. FLEX-27067

Window::window_resizeHandler crashes if called with an event after native window has been closed.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Adobe Flex SDK Previous
    • None
    • Spark: Window
    • None
    • Affected OS(s): Windows
      Affected OS(s):
      Language Found: English

    Description

      Steps to reproduce:
      I have a complex AIR app. There's a series of steps on windows where my app closes a spark window, and after that AIR sends out a resize event. Spark Window is still listening for resize events on the native window, but crashes because the stage has been set to null. I think Window::window_resizeHandler should check for a null stage, or else the event listener should be removed when the winodw closes.
      See Watson ##2819191 for more details about my bug.

      Actual Results:
      Crash in Window::window_resizeHandler using null stage.

      Expected Results:
      Window::window_resizeHandler uninstalled when window is closed, or Window::window_resizeHandler checks for null stage or closed window.

      Workaround (if any):

      Attachments

        Activity

          People

            adobejira Adobe JIRA
            adobejira Adobe JIRA
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: