mirror of
https://github.com/ivellioscolin/pykd.git
synced 2025-04-20 03:23:23 +08:00
[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:
parent
93f698a3a0
commit
5be20080a3
@ -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();
|
||||||
|
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user