Skip to content

Commit 6d594fb

Browse files
committed
Fixed a circular reference leak related to cached_result.
1 parent 53f3bb5 commit 6d594fb

File tree

1 file changed

+1
-1
lines changed
  • addons/source-python/packages/source-python/core

1 file changed

+1
-1
lines changed

addons/source-python/packages/source-python/core/cache.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,4 +74,4 @@ def wrapper(self, *args, **kwargs):
7474
return MethodType(wrapper, self)
7575

7676
# Return a cached property bound to the getter function
77-
return CachedProperty(getter, doc=fget.__doc__)
77+
return CachedProperty(getter, doc=fget.__doc__, unbound=True)

0 commit comments

Comments
 (0)