Better KStars exit management
Exiting KStars currently exits without warning, eventually in two attempts.
It does not terminate a running INDI server. This should be reworked considering Ekos potential activities.
-
Design a warning accept/reject pop-up notifying the end-user that Ekos is still running and will be terminated and its devices disconnected. Display the pop-up when closing KStars while Ekos is still running. The pop-up should have a checkbox preventing it from displaying again in the future. If the pop-up is accepted, Ekos must be terminated before KStars is exited. If the pop-up is rejected, the request to close KStars must be discarded. -
Design a warning yes/no pop-up asking whether to stop or leave a running INDI server instance. Display the pop-up when closing KStars while Ekos is still running and has instantiated an INDI server itself that is also still running. The pop-up should have a checkbox preventing it from displaying again in the future. If the pop-up is answered yes, the running local INDI server instance instantiated by Ekos must be stopped. If the pop-up is answered no, the running local INDI server instance instantiated by Ekos must be left to run. The implementation must not manage remote INDI servers, and must not prevent KStars from exiting.