fix deadlock

This commit is contained in:
John Smith
2022-12-26 17:49:23 -05:00
parent fa510deac9
commit 68b4dd636e
5 changed files with 9 additions and 9 deletions

View File

@@ -178,7 +178,7 @@ impl AttachmentManager {
{
let mut inner = self.inner.lock();
inner.last_attachment_state = AttachmentState::Attaching;
self.inner.lock().attach_ts = Some(get_aligned_timestamp());
inner.attach_ts = Some(get_aligned_timestamp());
debug!("attachment starting");
}
let netman = self.network_manager();