(0000430)
|
davidl
|
2012-08-16 09:41
|
|
Added a call to JApplication::Fini(...) and then the JApplication destructor when 3 SIGINTs are received. An optional argument allows the locking of the app mutex to be skipped in Fini, hopefully minimizing the chances that it gets stuck. Program exits when 3 SIGINTs are received afterwards.
If 6 SIGINTs are received, then the program just tries to exit immediately. This could be useful if the program gets stuck in the Fini or ~JApplication methods while handling the 3rd SIGINT.
I did not have a working system that exhibited the problem so this really couldn't be tested. |
|