File tree Expand file tree Collapse file tree 1 file changed +0
-5
lines changed
Expand file tree Collapse file tree 1 file changed +0
-5
lines changed Original file line number Diff line number Diff line change @@ -2029,9 +2029,6 @@ make_pre_finalization_calls(PyThreadState *tstate)
20292029 _PyAtExit_Call (tstate -> interp );
20302030
20312031 _PyRWMutex_Unlock (& tstate -> interp -> prefini_mutex );
2032- if (called == 0 ) {
2033- break ;
2034- }
20352032 }
20362033}
20372034
@@ -3464,14 +3461,12 @@ wait_for_thread_shutdown(PyThreadState *tstate)
34643461 /* else: threading not imported */
34653462 return ;
34663463 }
3467- int called = 0 ;
34683464 result = PyObject_CallMethodNoArgs (threading , & _Py_ID (_shutdown ));
34693465 if (result == NULL ) {
34703466 PyErr_FormatUnraisable ("Exception ignored on threading shutdown" );
34713467 }
34723468 Py_XDECREF (result );
34733469 Py_DECREF (threading );
3474- return ;
34753470}
34763471
34773472int Py_AtExit (void (* func )(void ))
You can’t perform that action at this time.
0 commit comments