From 24ee308028d86ea9167d7123a59cc654f2697cc1 Mon Sep 17 00:00:00 2001 From: Victor Kareh Date: Fri, 21 Nov 2025 17:36:40 -0500 Subject: daemon: Don't exit on idle when history is enabled Prevent daemon from exiting when history tracking is enabled to preserve the in-memory notification history. --- src/daemon/daemon.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') diff --git a/src/daemon/daemon.c b/src/daemon/daemon.c index 062e9a5..d28266d 100644 --- a/src/daemon/daemon.c +++ b/src/daemon/daemon.c @@ -315,6 +315,9 @@ static void add_exit_timeout(NotifyDaemon* daemon) if (! daemon->idle_exit) return; + if (daemon->history_enabled) + return; + if (daemon->exit_timeout_source > 0) return; -- cgit v1.2.1