From 12b9dc6cc334199eece61df0e208b442989f3e86 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A9vin=20Commaille?= Date: Tue, 27 Aug 2024 11:34:10 +0200 Subject: [PATCH] utils: Remove unnecessary debug logging --- src/utils/mod.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/utils/mod.rs b/src/utils/mod.rs index 1e11a1f7..9a1ebd0f 100644 --- a/src/utils/mod.rs +++ b/src/utils/mod.rs @@ -554,7 +554,6 @@ impl Clone for CountedRef { fn clone(&self) -> Self { let count = self.count(); self.0.count.set(count.saturating_add(1)); - tracing::debug!("Increasing refcount to: {}", count.saturating_add(1)); if count == 0 { (self.0.on_non_zero)(); @@ -568,7 +567,6 @@ impl Drop for CountedRef { fn drop(&mut self) { let count = self.count(); self.0.count.set(count.saturating_sub(1)); - tracing::debug!("Decreasing refcount to: {}", count.saturating_sub(1)); if count == 1 { (self.0.on_zero)();