Use Py_Finalize() instead of Py_FinalizeEx() for compatibility

This commit is contained in:
Florian Märkl 2018-02-25 11:06:41 +01:00 committed by xarkes
parent 1ffc2bb742
commit 47e99f6d11
2 changed files with 2 additions and 2 deletions

View File

@ -35,7 +35,7 @@ include_directories(${RADARE2_INCLUDE_DIRS})
link_directories(${RADARE2_LIBRARY_DIRS})
find_package(PythonLibs 3 REQUIRED)
find_package(PythonLibs 3.3 REQUIRED)
include_directories(${PYTHON_INCLUDE_DIRS})

View File

@ -36,7 +36,7 @@ JupyterConnection::~JupyterConnection()
if (Py_IsInitialized())
{
Py_FinalizeEx();
Py_Finalize();
}
}