We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3d5311d commit a27f20fCopy full SHA for a27f20f
addons/source-python/packages/source-python/memory/manager.py
@@ -637,7 +637,13 @@ def fget(ptr):
637
args,
638
return_type
639
)
640
- funcs[address] = func
+ for func_cache in funcs.values():
641
+ if func_cache == func:
642
+ funcs[address] = func_cache
643
+ func = func_cache
644
+ break
645
+ else:
646
+ funcs[address] = func
647
648
# Wrap it using MemberFunction, so we don't have to pass the this
649
# pointer anymore
0 commit comments