Commit 6823613
committed
Move Py_FinalizeEx call to end of isolate function
Removed AppLifecycleListener-based finalization and now explicitly call cpython.Py_FinalizeEx() at the end of runPythonProgramInIsolate. This ensures Python finalization occurs after the program finishes, improving resource management.1 parent 78c3e0f commit 6823613
1 file changed
+3
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
96 | 96 | | |
97 | 97 | | |
98 | 98 | | |
99 | | - | |
100 | | - | |
101 | | - | |
102 | | - | |
103 | | - | |
104 | | - | |
105 | | - | |
106 | | - | |
107 | | - | |
108 | | - | |
109 | 99 | | |
110 | 100 | | |
111 | 101 | | |
| |||
140 | 130 | | |
141 | 131 | | |
142 | 132 | | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
143 | 136 | | |
144 | 137 | | |
145 | 138 | | |
| |||
0 commit comments