Skip to content

Commit a858d89

Browse files
committed
Fix runtime property iteration
1 parent 2287199 commit a858d89

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clr_loader/hostfxr.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@ def __iter__(self):
5050
keys_ptr = ffi.new("char_t*[]", max_size)
5151
values_ptr = ffi.new("char_t*[]", max_size)
5252

53-
res = self._fxr._dll.hostfxr_get_runtime_properties(
54-
self._fxr._handle, size_ptr, keys_ptr, values_ptr
53+
res = self._dll.hostfxr_get_runtime_properties(
54+
self._dll._handle, size_ptr, keys_ptr, values_ptr
5555
)
5656
check_result(res)
5757

0 commit comments

Comments
 (0)