From c08c8812d6668f39088c9b541b717a3891a2c362 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20L=C3=B6nnhager?= Date: Sat, 21 Oct 2023 21:27:49 +0200 Subject: [PATCH] Ignore dropped response channel in API client --- mullvad-api/src/rest.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/mullvad-api/src/rest.rs b/mullvad-api/src/rest.rs index 53e84ca4ca16..d52064560b8e 100644 --- a/mullvad-api/src/rest.rs +++ b/mullvad-api/src/rest.rs @@ -231,9 +231,7 @@ impl< } } - if completion_tx.send(response).is_err() { - log::trace!("Failed to send response to caller, caller channel is shut down"); - } + let _ = completion_tx.send(response); }); }