[Github-comments] [geany/geany] Save project on file open/close (#1860)

elextr notifications at xxxxx
Thu May 24 02:34:16 UTC 2018


> We kind of do, we handle SIGTERM and shutdown cleanly when received. In the usual case, the 10 seconds or whatever that shutdown gives, should be enough time to save everything and finish closing.

Probably not, the callback calls `main_quit()` which asks about unsaved files, so unless its a fast user or everything is saved, even longer is probably not enough.

IIUC the systemd timeout only applies to services it starts, interactive GUI processes get theirs from the session manager, which IIUC is only required to give time to apps that registered for a "save yourself" call, which Geany is not.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/1860#issuecomment-391568355
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20180523/84efc381/attachment-0001.html>


More information about the Github-comments mailing list