summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2022-05-29 19:44:47 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2022-05-29 19:45:02 (GMT)
commit7b47c9784aec0cbcf5c59f79b429f08828b809be (patch)
tree27e85fa94e8fa70f449f2b957d146ef193269bf6
parentaf95bb661b56245c6209da6cf5c047d8defea2c6 (diff)
Remove a call to the deprecated function PyEval_InitThreads(), which does nothing.
-rw-r--r--plugins/pychrysalide/core.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/plugins/pychrysalide/core.c b/plugins/pychrysalide/core.c
index 89c4da4..ef119fb 100644
--- a/plugins/pychrysalide/core.c
+++ b/plugins/pychrysalide/core.c
@@ -825,8 +825,6 @@ G_MODULE_EXPORT bool chrysalide_plugin_init(GPluginModule *plugin)
Py_Initialize();
- PyEval_InitThreads();
-
PySys_SetArgv(0, (wchar_t *[]) { NULL });
_chrysalide_module = PyImport_ImportModule("pychrysalide");