You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Sean Gray (Jira)" <ji...@apache.org> on 2020/10/27 23:20:00 UTC

[jira] [Created] (NETBEANS-4962) Due to the way that NetBeans' terminates programs, ShutDownHooks are unusable.

Sean Gray created NETBEANS-4962:
-----------------------------------

             Summary: Due to the way that NetBeans' terminates programs, ShutDownHooks are unusable.
                 Key: NETBEANS-4962
                 URL: https://issues.apache.org/jira/browse/NETBEANS-4962
             Project: NetBeans
          Issue Type: Bug
         Environment: Windows 10
            Reporter: Sean Gray


ShutDownHooks do not work in NetBeans. They have never worked in NetBeans. They need to work in NetBeans.

They do not work because the only option in NetBeans to stop a program is the terminate button, which (as of the most recent information I can find) calls Process.destroy(). The terminate button should either stop the program in a clean way that allows for ShutDownHooks, or there should be another option to stop the program that does that.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists