Skip to content

Commit 10b4bb3

Browse files
committed
fix: do not store CFFI handles twice
Signed-off-by: Matteo Cafasso <[email protected]>
1 parent 2bddd5e commit 10b4bb3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clips/values.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ def clips_external_address(env: ffi.CData, value: type) -> ffi.CData:
102102

103103
# Hold reference to CData handle
104104
user_functions = common.environment_data(env, 'user_functions')
105-
user_functions.external_addresses[handle] = (handle, value)
105+
user_functions.external_addresses[handle] = value
106106

107107
return lib.CreateCExternalAddress(env, handle)
108108

0 commit comments

Comments
 (0)