Skip to content

Commit cc1a237

Browse files
committed
Comment out Py_FinalizeEx call in runPythonProgramInIsolate
The calls to cpython.Py_FinalizeEx() and its debug log have been commented out in runPythonProgramInIsolate. This may be to prevent issues related to finalizing the Python interpreter in this context.
1 parent 6823613 commit cc1a237

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/serious_python_android/lib/src/cpython.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -130,8 +130,8 @@ Future<String> runPythonProgramInIsolate(List<Object> arguments) async {
130130

131131
_debug("Python program finished");
132132

133-
cpython.Py_FinalizeEx();
134-
_debug("after Py_FinalizeEx()");
133+
// cpython.Py_FinalizeEx();
134+
// _debug("after Py_FinalizeEx()");
135135

136136
sendPort.send(result);
137137

0 commit comments

Comments
 (0)