Ticket #27 (enhancement)

Opened 3 years ago

Last modified 2 years ago

galago-daemon should listen when a spawned process is killed and clean up

Status: new

Reported by: chipx86 Assigned to: chipx86
Priority: normal Milestone:
Component: galago-daemon Version:
Severity: major Keywords:
Cc: D-BUS Version:
Patch Included: 0 OS/Distro Version:

Right now, if a process that galago-daemon is killed (kill pid), the feed won't be unregistered. While this is something that libgalago ideally would take care of, it's not possible to listen on SIGKILL and react. So, galago-daemon should kind of monitor its processes and see if any one of them suddenly dies and attempt to unregister the feed.

That, or introduce some kind of a ping between the daemon and feeds.