safer interruptability of fake-idle -- reusing the same skip_next_idle pattern as with idle

This commit is contained in:
holger krekel
2019-11-25 23:45:57 +01:00
parent 59700cb477
commit 618d74cd67
3 changed files with 37 additions and 29 deletions

View File

@@ -1011,4 +1011,5 @@ pub fn interrupt_smtp_idle(context: &Context) {
state.perform_jobs_needed = 1;
state.idle = true;
cvar.notify_one();
info!(context, "Interrupting SMTP-idle... ended",);
}