mirror of
https://github.com/chatmail/core.git
synced 2026-04-28 19:06:35 +03:00
make idle wait only as long as the next job wants to run
This commit is contained in:
@@ -104,7 +104,7 @@ fn main() {
|
||||
println!("stopping threads");
|
||||
|
||||
*running.write().unwrap() = false;
|
||||
deltachat::job::interrupt_inbox_idle(&ctx, true);
|
||||
deltachat::job::interrupt_inbox_idle(&ctx);
|
||||
deltachat::job::interrupt_smtp_idle(&ctx);
|
||||
|
||||
println!("joining");
|
||||
|
||||
Reference in New Issue
Block a user