Skip to content

Commit a5a2c96

Browse files
author
Christopher Doris
committed
restore test script
1 parent a36d7c0 commit a5a2c96

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

test/finalize_test_script.jl

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,3 @@ let
77
finalize(obj)
88
end
99
end
10-
11-
@show isready(PythonCall.GC.QUEUE)
12-
GC.gc()
13-
# with GCHook, the queue should be empty now (the above gc() triggered GCHook to clear the PythonCall QUEUE)
14-
# without GCHook, gc() has no effect on the QUEUE
15-
@show isready(PythonCall.GC.QUEUE)
16-
GC.gc()
17-
@show isready(PythonCall.GC.QUEUE)
18-
GC.gc()
19-
@show isready(PythonCall.GC.QUEUE)
20-
# with GCHook this is not necessary, GC.gc() is enough
21-
# without GCHook, this is required to free any objects in the PythonCall QUEUE
22-
PythonCall.GC.gc()
23-
@show isready(PythonCall.GC.QUEUE)

0 commit comments

Comments
 (0)