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

Need Toolkit shutdown hook to clean up resources, etc.

XMLWordPrintable

      We need a Toolkit shutdown hook that can be used by other parts of the system (e.g., media) to clean up resources, etc. Something like:

      public void Toolkit.addShutdownHook(TKShutdownHook hook);
      public void Toolkit.removeShutdownHook(TKShutdownHook hook);

      These shutdown hooks would be called by Toolkit.exit() on the JavaFX application thread and could be used to dispose of resources.

            kcr Kevin Rushforth
            kcr Kevin Rushforth
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: