mirror of
https://github.com/chatmail/core.git
synced 2026-04-22 16:06:30 +03:00
Use spawn() instead of block_on() again because it reportedly might lead to deadlocks
Also, fix some minor stuff
This commit is contained in:
@@ -1288,7 +1288,7 @@ pub async fn delete_msgs(context: &Context, msg_ids: &[MsgId]) -> Result<()> {
|
||||
.sql
|
||||
.set_raw_config(Config::DebugLogging, Some("0"))
|
||||
.await?;
|
||||
context.debug_logging.store(0, atomic::Ordering::Release);
|
||||
context.debug_logging.store(0, atomic::Ordering::Relaxed);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user