Skip to content

Commit

Permalink
Ignore dropped response channel in API client
Browse files Browse the repository at this point in the history
  • Loading branch information
dlon committed Oct 21, 2023
1 parent 846f6f6 commit c08c881
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions mullvad-api/src/rest.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
});
}

Expand Down

0 comments on commit c08c881

Please sign in to comment.