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

AIR application is getting forcefully closed in case of system shutdown

    XMLWordPrintableJSON

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

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated: