FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[Original HTTPS Page]
fix slice cache finalization to use gc del · python-emscripten/cpython@b0c04cb · GitHub
python-emscripten
cpython
Repository navigation
Code
Pull requests
Actions
Projects
Security and quality
Insights
Commit
b0c04cb
Browse files
Browse the repository at this point in the history
Browse files
benjaminp
committed
fix slice cache finalization to use gc del
1 parent
8917226
commit
b0c04cb
Copy full SHA for b0c04cb
1 file changed
+1
-1
Lines changed: 1 addition & 1 deletion
File tree
Expand file tree
Collapse file tree
Open diff view settings
Filter options
Objects
sliceobject.c
Expand file tree
Collapse file tree
Open diff view settings
Collapse file
Objects/sliceobject.c
Copy file name to clipboard
Expand all lines: Objects/sliceobject.c
+1
-1
Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -102,7 +102,7 @@ void PySlice_Fini(void)
102
102
PySliceObject
*
obj
=
slice_cache
;
103
103
if
(
obj
!=
NULL
) {
104
104
slice_cache
=
NULL
;
105
-
PyObject_Del
(
obj
);
105
+
PyObject_GC_Del
(
obj
);
106
106
}
107
107
}
108
108
0 commit comments
Comments
0
(0)
Back
|
FazBrowse Home
|
New Git URL
0 commit comments