Skip to content

Commit 6ace1d1

Browse files
author
Christopher Rowley
committed
guard an incref
1 parent 93a696c commit 6ace1d1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Core/juliacall.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,5 +31,5 @@ function init_juliacall()
3131
@assert !pybool_asbool(jl.CONFIG["init"])
3232
end
3333
pycopy!(pyJuliaError, jl.JuliaError)
34-
CPyExc_JuliaError[] = incref(getptr(pyJuliaError))
34+
CPyExc_JuliaError[] = C.@withts incref(getptr(pyJuliaError))
3535
end

0 commit comments

Comments
 (0)