Skip to content

Commit 7ea7a4c

Browse files
committed
fix: Py_XDECREF requires the GIL to be held, but it's unavailable after Python finalization
1 parent a1cdfb3 commit 7ea7a4c

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/modules/pythonmonkey/pythonmonkey.cc

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -303,8 +303,6 @@ PyTypeObject JSObjectItemsProxyType = {
303303
};
304304

305305
static void cleanup() {
306-
Py_XDECREF(PythonMonkey_Null);
307-
Py_XDECREF(PythonMonkey_BigInt);
308306
delete autoRealm;
309307
delete global;
310308
if (GLOBAL_CX) JS_DestroyContext(GLOBAL_CX);

0 commit comments

Comments
 (0)