Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8108380

Shutdown actions ignored on Mac when quitting by Cmd+Q

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Duplicate
    • Affects Version/s: fx1.2.1
    • Fix Version/s: None
    • Component/s: javafx
    • Labels:
    • Environment:

      Mac OS X 10.6.1, Snow Leopard

      Description

      After adding this line: FX.addShutdownAction(function() { println("shutdown"); } to an arbitrary app:

      1) quititng by Cmd+Q skips the added shutdown action

      2) quitting by closing the app window using mouse, executes the action

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            duke J. Duke (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported: