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

Shutdown actions ignored on Mac when quitting by Cmd+Q

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • fx1.2.1
    • javafx
    • Mac OS X 10.6.1, Snow Leopard

      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

            Unassigned Unassigned
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: