Menu

#131 setKillOnShutdownHook causes JVM to be stopped

Beta06
accepted
2015-06-22
2015-03-30
No

A shutdown hook is set in BicepsClientFramework.setup():
FrameworkProperties.getInstance().setKillOnShutdownHook(true);

That shutdown hook terminates the JVM: Runtime.getRuntime().halt(0); (in SEToolkit.addShutdownHook())

We don't want to stop the JVM when exiting BICEPS and we want to be able to define an appropriate exit code.

Discussion

  • Stefan Schlichting

    • labels: --> ShutdownHook, BICEPSClient, BICEPSDevice
    • status: open --> accepted
    • assigned_to: Stefan Schlichting
     
  • Stefan Schlichting

    • Milestone: Beta05 --> Beta06
     

Log in to post a comment.