[pykd_ext_2.0] fixed : exception "pykd is not initialized" after restart windbg

git-svn-id: https://pykd.svn.codeplex.com/svn@91006 9b283d60-5439-405e-af05-b73fd8c4d996
This commit is contained in:
SND\kernelnet_cp 2016-07-12 12:09:03 +00:00 committed by Mikhail I. Izmestev
parent 93f698a3a0
commit 5be20080a3
2 changed files with 3 additions and 1 deletions

View File

@ -508,6 +508,8 @@ void PyModule::deactivate()
if (mainMod) Py_DecRef(mainMod); if (mainMod) Py_DecRef(mainMod);
if (globals) Py_DecRef(globals); if (globals) Py_DecRef(globals);
if (result) Py_DecRef(result); if (result) Py_DecRef(result);
m_pykdInit = false;
} }
m_globalState = PyEval_SaveThread(); m_globalState = PyEval_SaveThread();

View File

@ -3,7 +3,7 @@
#define PYKDEXT_VERSION_MAJOR 2 #define PYKDEXT_VERSION_MAJOR 2
#define PYKDEXT_VERSION_MINOR 0 #define PYKDEXT_VERSION_MINOR 0
#define PYKDEXT_VERSION_SUBVERSION 0 #define PYKDEXT_VERSION_SUBVERSION 0
#define PYKDEXT_VERSION_BUILDNO 3 #define PYKDEXT_VERSION_BUILDNO 4
#define __VER_STR2__(x) #x #define __VER_STR2__(x) #x
#define __VER_STR1__(x) __VER_STR2__(x) #define __VER_STR1__(x) __VER_STR2__(x)