File tree Expand file tree Collapse file tree 3 files changed +10
-2
lines changed Expand file tree Collapse file tree 3 files changed +10
-2
lines changed Original file line number Diff line number Diff line change 77.CondaPkg /
88/jltest. *
99uv.lock
10+
11+ # pixi environments
12+ .pixi
13+ * .egg-info
Original file line number Diff line number Diff line change @@ -160,11 +160,14 @@ macro unlock(expr)
160160 end
161161end
162162
163+ #=
164+ # Disable this for now since holding this lock will disable finalizers
163165# If the main thread already has the GIL, we should lock _jl_gil_lock.
164166function __init__()
165167 if hasgil()
166168 Base.lock(_jl_gil_lock)
167169 end
168170end
171+ =#
169172
170173end
Original file line number Diff line number Diff line change 2929 GC. gc ()
3030
3131 # Unlock and relocking the ReentrantLock allows this test to pass
32- Base. unlock (PythonCall. GIL. _jl_gil_lock)
33- Base. lock (PythonCall. GIL. _jl_gil_lock)
32+ # if _jl_gil_lock is locked on init
33+ # Base.unlock(PythonCall.GIL._jl_gil_lock)
34+ # Base.lock(PythonCall.GIL._jl_gil_lock)
3435
3536 @test isempty (PythonCall. GC. QUEUE. items)
3637end
You can’t perform that action at this time.
0 commit comments