Remove Py_Finalize() call.
* Change: In Hurricane, in Script.cpp, remove the call to Py_Finalize() as it do not completly clear the Python interpreter, causing in Chams disgraceful warning about a double initialization. Not calling this clearing function do not seems to cause problems do far (maybe memory leak...).
This commit is contained in:
parent
e97d4ca06a
commit
d34d95fc68
|
@ -277,7 +277,7 @@ namespace Isobar {
|
||||||
}
|
}
|
||||||
_initModules.clear();
|
_initModules.clear();
|
||||||
|
|
||||||
Py_Finalize ();
|
//Py_Finalize ();
|
||||||
|
|
||||||
_userModule = NULL;
|
_userModule = NULL;
|
||||||
_sysModule = NULL;
|
_sysModule = NULL;
|
||||||
|
|
Loading…
Reference in New Issue