From 8069f18b730bbc9d2e7abd41c510d9e18e48c9a9 Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Wed, 7 Sep 2022 14:48:43 +0200 Subject: [PATCH] this drop is really important --- fsrc-core/src/pus/verification.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/fsrc-core/src/pus/verification.rs b/fsrc-core/src/pus/verification.rs index b81a47d..0ae81c0 100644 --- a/fsrc-core/src/pus/verification.rs +++ b/fsrc-core/src/pus/verification.rs @@ -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)) })?;