Skip to content

Commit

Permalink
Drop deprecated call to PyEval_InitThreads
Browse files Browse the repository at this point in the history
Not needed since Python 3.7+, as it's called internally by Py_Initialize
  • Loading branch information
nyalldawson committed Feb 24, 2021
1 parent eb8066f commit 66ab5af
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/python/qgspythonutilsimpl.cpp
Expand Up @@ -156,8 +156,6 @@ void QgsPythonUtilsImpl::init()
{
// initialize python
Py_Initialize();
// initialize threading AND acquire GIL
PyEval_InitThreads();

mPythonEnabled = true;

Expand Down

0 comments on commit 66ab5af

Please sign in to comment.