record-daemon: fix linux builds
record-daemon / Build, check and test (push) Failing after 55s
record-daemon / Build Windows (xwin) (push) Has been skipped

This commit is contained in:
2026-03-21 13:40:10 +01:00
parent fb3a26b961
commit 5121a46533
5 changed files with 154 additions and 20 deletions
+2 -2
View File
@@ -501,16 +501,16 @@ async fn main() -> Result<()> {
let mut daemon = Daemon::new(settings);
// Handle shutdown signals
let _shutdown_tx = daemon.shutdown_tx.clone();
let shutdown_tx = daemon.shutdown_tx.clone();
#[cfg(unix)]
{
use futures::StreamExt;
use signal_hook::consts::signal::*;
use signal_hook_tokio::Signals;
let mut signals = Signals::new([SIGTERM, SIGINT, SIGQUIT])?;
let handle = signals.handle();
let tx = shutdown_tx.clone();
tokio::spawn(async move {