Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
Adobe Flex SDK 4.1 (Release)
-
None
-
None
-
Affected OS(s): Windows
Affected OS(s): Windows XP
Browser: Firefox 3.x
Language Found: English
Description
Steps to reproduce:
1.Add an Event Listener to nativeapplication to listen Event.Exiting and cancel that event. --> NativeApplication.nativeApplication.addEventListener(Event.EXITING,function onExiting(exitingEvent:Event):void {
exitingEvent.preventDefault();
while(true){
}
});
2.Build a release version, Install and start the app.
3. Try to Shutdown the System from StartMenu-->Turn Off Computer --> Turn Off
Actual Results: System is shutting down.
Expected Results: System Should show "Ending Program [appname]" as it happens if there is any unsaved data in notepad++ during shutdown/restart
Workaround (if any): None