From 2c82d3d5e406f631f6fa848ffd891d4f1b2cab1d Mon Sep 17 00:00:00 2001 From: Taegyun Kim Date: Thu, 9 Jan 2025 17:21:23 -0500 Subject: [PATCH] fix typo --- ddtrace/profiling/collector/_lock.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ddtrace/profiling/collector/_lock.py b/ddtrace/profiling/collector/_lock.py index 4cb087c7dc..ec62c5c0ee 100644 --- a/ddtrace/profiling/collector/_lock.py +++ b/ddtrace/profiling/collector/_lock.py @@ -184,7 +184,7 @@ def _release(self, inner_func, *args, **kwargs): if hasattr(self, "_self_acquired_at"): # _self_acquired_at is only set when the acquire was captured # if it's not set, we're not capturing the release - start = self.self_acquired_at + start = self._self_acquired_at try: return inner_func(*args, **kwargs)