fix(registry): remove won't return result

This commit is contained in:
Nova
2022-06-20 08:07:51 -04:00
parent 9c6e4e49ba
commit 0c9dafe158
2 changed files with 8 additions and 9 deletions

View File

@@ -151,7 +151,7 @@ impl PulseSender {
}
impl Drop for PulseSender {
fn drop(&mut self) {
let _ = PULSE_SENDER_REGISTRY.remove(self);
PULSE_SENDER_REGISTRY.remove(self);
}
}
@@ -219,7 +219,7 @@ impl<'a> PulseReceiver {
impl Drop for PulseReceiver {
fn drop(&mut self) {
let _ = PULSE_RECEIVER_REGISTRY.remove(self);
PULSE_RECEIVER_REGISTRY.remove(self);
}
}