RVM
  1. RVM
  2. RVM-555

run shutdown hooks on control-C

    Details

    • Type: Bug Bug
    • Status: Open Open
    • Priority: Trivial Trivial
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: 1000
    • Component/s: Runtime
    • Labels:
      None
    • Number of attachments :
      0

      Description

      We should run the shutdown hooks when we get
      control-C. The 1.4.2 API spec for
      java.lang.Runtime.addShutdownHook specifically
      states that we should run the hooks when:

      The virtual machine is terminated in response to a user
      interrupt, such as typing ^C, or a system-wide event,
      such as user logoff or system shutdown.

      We don't do it yet. (I have a test case showing this.)

        Issue Links

          Activity

          Hide
          Erik Brangs added a comment -

          If the test case is automated, it would be nice if you could attach it.

          Show
          Erik Brangs added a comment - If the test case is automated, it would be nice if you could attach it.

            People

            • Assignee:
              Unassigned
              Reporter:
              David Grove
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated: