Skip to content

Commit 194f171

Browse files
author
Christopher Doris
committed
enqueue_all was called wrong
1 parent 28b440c commit 194f171

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/JlWrap/objectarray.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ PyObjectArray{N}(x::AbstractArray{T,N}) where {T,N} =
88
copyto!(PyObjectArray{N}(undef, size(x)), x)
99
PyObjectArray(x::AbstractArray{T,N}) where {T,N} = PyObjectArray{N}(x)
1010

11-
pyobjectarray_finalizer(x::PyObjectArray) = GC.enqueue_all(C.PyPtr, x.ptrs)
11+
pyobjectarray_finalizer(x::PyObjectArray) = GC.enqueue_all(x.ptrs)
1212

1313
Base.IndexStyle(x::PyObjectArray) = Base.IndexStyle(x.ptrs)
1414

0 commit comments

Comments
 (0)