yaq-project / yaq-python

Repository for yaq core python packages.
https://yaq.fyi
GNU Lesser General Public License v3.0
6 stars 5 forks source link

IsDaemon.save_state could be more robust #8

Open untzag opened 2 years ago

untzag commented 2 years ago

I would do it in shutdown, not close (because many daemons that have a close do not call super because it is a no-op)

We actually do explicitly save the state in shutdown_all, but that is only used on POSIX systems, not windows...