Abort cooldown sleep and break caller loops immediately on interruption

This commit is contained in:
Andrea Mazzoleni 2026-09-06 23:20:21 +02:00
parent ea955eedc7
commit f9819266e7
5 changed files with 14 additions and 2 deletions

View file

@ -1692,6 +1692,9 @@ static int state_sync_process(struct snapraid_state* state, struct snapraid_pari
/* drop until now */
state_usage_waste(state);
if (os_signal_interrupt())
break;
}
/* autosave */