Py_Finalize ERROR!
zaley
lizhongan at gmail.com
Tue Feb 19 02:11:17 EST 2008
Py_Finalize ERROR!
In my C++ program ,python is embeded . I create one win thread to run
embedded Python code .
So at the begin of thread function I call "Py_Initialize" and at the
end of thread function call "Py_Finalize" .
But after I began thread several times,the program crashed in
function "Py_Finalize".
I can see the error occured at function "PyObject_ClearWeakRefs" when
"Py_Finalize" called "type_dealloc";
Note: the python25.dll(lib) is builded by VC6(SP6)
More information about the Python-list
mailing list