this drop is really important

This commit is contained in:
Robin Müller 2022-09-07 14:48:43 +02:00
parent 007fc3bd28
commit 8069f18b73
No known key found for this signature in database
GPG Key ID: 11D4952C8CCEF814

View File

@ -754,6 +754,7 @@ mod stdmod {
VerificationError::SendError(StdVerifSenderError::StoreError(e))
})?;
tm.write_to(buf).map_err(VerificationError::PusError)?;
drop(mg);
self.tx.send(addr).map_err(|_| {
VerificationError::SendError(StdVerifSenderError::RxDisconnected(addr))
})?;