-
Notifications
You must be signed in to change notification settings - Fork 84
Expand file tree
/
Copy pathGC.jl
More file actions
36 lines (25 loc) · 760 Bytes
/
Copy pathGC.jl
File metadata and controls
36 lines (25 loc) · 760 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
"""
module PythonCall.GC
Garbage collection of Python objects.
See `disable` and `enable`.
"""
module GC
"""
PythonCall.GC.disable()
Do nothing.
!!! note
In earlier versions of PythonCall, this function disabled the PythonCall garbage
collector. This is no longer required because Python objects now have thread-safe
finalizers. This function will be removed in PythonCall v1.
"""
disable() = nothing
"""
PythonCall.GC.enable()
Do nothing.
!!! note
In earlier versions of PythonCall, this function re-enabled the PythonCall garbage
collector. This is no longer required because Python objects now have thread-safe
finalizers. This function will be removed in PythonCall v1.
"""
enable() = nothing
end # module GC