From 47395c5580b3c27d2525fa090e49fe1204b6da54 Mon Sep 17 00:00:00 2001 From: Fredrik Mellbin Date: Mon, 1 Jul 2013 14:43:42 +0000 Subject: [PATCH] Never call Py_Finalize() --- src/vsscript/vsscript.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/vsscript/vsscript.cpp b/src/vsscript/vsscript.cpp index 9568740..b2601c2 100644 --- a/src/vsscript/vsscript.cpp +++ b/src/vsscript/vsscript.cpp @@ -32,8 +32,8 @@ VS_API(int) vseval_finalize(void) { return initializationCount; //PyEval_RestoreThread(ts); //PyGILState_Release(s); - if (!preInitialized) - Py_Finalize(); + //if (!preInitialized) + // Py_Finalize(); return 0; } -- 2.11.4.GIT