From d34d95fc6874db0adf2963faffbd041afc834157 Mon Sep 17 00:00:00 2001 From: Jean-Paul Chaput Date: Sat, 4 Apr 2015 17:21:37 +0200 Subject: [PATCH] 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...). --- hurricane/src/viewer/Script.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hurricane/src/viewer/Script.cpp b/hurricane/src/viewer/Script.cpp index 47526843..9f9038f5 100644 --- a/hurricane/src/viewer/Script.cpp +++ b/hurricane/src/viewer/Script.cpp @@ -277,7 +277,7 @@ namespace Isobar { } _initModules.clear(); - Py_Finalize (); + //Py_Finalize (); _userModule = NULL; _sysModule = NULL;