Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
cpython
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
cpython
Commits
fd417cc5
Kaydet (Commit)
fd417cc5
authored
May 05, 2013
tarafından
Antoine Pitrou
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Fix crash caused by 8c1385205a35
(thanks Arfrever for reporting).
üst
dea2ec4b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
6 deletions
+8
-6
pythonrun.c
Python/pythonrun.c
+8
-6
No files found.
Python/pythonrun.c
Dosyayı görüntüle @
fd417cc5
...
@@ -558,6 +558,9 @@ Py_Finalize(void)
...
@@ -558,6 +558,9 @@ Py_Finalize(void)
/* Destroy the database used by _PyImport_{Fixup,Find}Extension */
/* Destroy the database used by _PyImport_{Fixup,Find}Extension */
_PyImport_Fini
();
_PyImport_Fini
();
/* Cleanup typeobject.c's internal caches. */
_PyType_Fini
();
/* unload faulthandler module */
/* unload faulthandler module */
_PyFaulthandler_Fini
();
_PyFaulthandler_Fini
();
...
@@ -578,7 +581,7 @@ Py_Finalize(void)
...
@@ -578,7 +581,7 @@ Py_Finalize(void)
_Py_PrintReferences
(
stderr
);
_Py_PrintReferences
(
stderr
);
#endif
/* Py_TRACE_REFS */
#endif
/* Py_TRACE_REFS */
/* Clear interpreter state */
/* Clear interpreter state
and all thread states.
*/
PyInterpreterState_Clear
(
interp
);
PyInterpreterState_Clear
(
interp
);
/* Now we decref the exception classes. After this point nothing
/* Now we decref the exception classes. After this point nothing
...
@@ -594,10 +597,6 @@ Py_Finalize(void)
...
@@ -594,10 +597,6 @@ Py_Finalize(void)
_PyGILState_Fini
();
_PyGILState_Fini
();
#endif
/* WITH_THREAD */
#endif
/* WITH_THREAD */
/* Delete current thread */
PyThreadState_Swap
(
NULL
);
PyInterpreterState_Delete
(
interp
);
/* Sundry finalizers */
/* Sundry finalizers */
PyMethod_Fini
();
PyMethod_Fini
();
PyFrame_Fini
();
PyFrame_Fini
();
...
@@ -611,11 +610,14 @@ Py_Finalize(void)
...
@@ -611,11 +610,14 @@ Py_Finalize(void)
PyFloat_Fini
();
PyFloat_Fini
();
PyDict_Fini
();
PyDict_Fini
();
PySlice_Fini
();
PySlice_Fini
();
_PyType_Fini
();
/* Cleanup Unicode implementation */
/* Cleanup Unicode implementation */
_PyUnicode_Fini
();
_PyUnicode_Fini
();
/* Delete current thread. After this, many C API calls become crashy. */
PyThreadState_Swap
(
NULL
);
PyInterpreterState_Delete
(
interp
);
/* reset file system default encoding */
/* reset file system default encoding */
if
(
!
Py_HasFileSystemDefaultEncoding
&&
Py_FileSystemDefaultEncoding
)
{
if
(
!
Py_HasFileSystemDefaultEncoding
&&
Py_FileSystemDefaultEncoding
)
{
free
((
char
*
)
Py_FileSystemDefaultEncoding
);
free
((
char
*
)
Py_FileSystemDefaultEncoding
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment