The SIGINT handler did not cancel the LUCStarter, it does now.
The SIGINT handler made the application quit, but the asynchronous
call to deregister its shutdown consumer from the Node State Manager
does that when it is finished.
* Add documentation for the WatchdogClient class
* License the reference manual under Creative Commons CC0 1.0
Universal (CC0 1.0)
+* Fixed NodeStartupControllerApplication's SIGINT handler redundantly
+ quitting the application and not cancelling the LUCStarter.
0.9.1
=====
g_return_val_if_fail (IS_NODE_STARTUP_CONTROLLER_APPLICATION (application), FALSE);
+ /* cancel the LUC startup */
+ luc_starter_cancel (application->luc_starter);
+
/* deregister the shutdown consumers of legacy applications */
la_handler_service_deregister_consumers (application->la_handler);
/* unregister the shutdown client for the app itself */
node_startup_controller_application_unregister_shutdown_consumer (application);
- /* quit the application */
- g_main_loop_quit (application->main_loop);
-
/* reset the source ID */
application->sigterm_id = 0;