From 02029c945a0f9c7bbb2c680102afd5c2d66f93c3 Mon Sep 17 00:00:00 2001 From: Max Brunsfeld Date: Thu, 11 Jan 2024 16:21:55 -0800 Subject: [PATCH] Suppress unused field warning --- crates/live_kit_client/src/prod.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/live_kit_client/src/prod.rs b/crates/live_kit_client/src/prod.rs index 3082c9b5338d7449b00a86fe60287213acd1e79d..f1660cc3d1a7ce9f7951cfd5f1a354158a41d334 100644 --- a/crates/live_kit_client/src/prod.rs +++ b/crates/live_kit_client/src/prod.rs @@ -868,6 +868,7 @@ impl Drop for RemoteAudioTrack { // the crash in the `livekit.multicast` thread. // // unsafe { CFRelease(self.native_track.0) } + let _ = self.native_track; } }