diff --git a/pykd_ext/pyinterpret.cpp b/pykd_ext/pyinterpret.cpp index 2285668..1e7e0e9 100644 --- a/pykd_ext/pyinterpret.cpp +++ b/pykd_ext/pyinterpret.cpp @@ -508,6 +508,8 @@ void PyModule::deactivate() if (mainMod) Py_DecRef(mainMod); if (globals) Py_DecRef(globals); if (result) Py_DecRef(result); + + m_pykdInit = false; } m_globalState = PyEval_SaveThread(); diff --git a/pykd_ext/version.h b/pykd_ext/version.h index b09df73..18bf1c9 100644 --- a/pykd_ext/version.h +++ b/pykd_ext/version.h @@ -3,7 +3,7 @@ #define PYKDEXT_VERSION_MAJOR 2 #define PYKDEXT_VERSION_MINOR 0 #define PYKDEXT_VERSION_SUBVERSION 0 -#define PYKDEXT_VERSION_BUILDNO 3 +#define PYKDEXT_VERSION_BUILDNO 4 #define __VER_STR2__(x) #x #define __VER_STR1__(x) __VER_STR2__(x)