Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
Adobe Flex SDK Previous
-
None
-
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):