mirror of
https://github.com/ivellioscolin/pykd.git
synced 2025-04-21 04:13:22 +08:00
[0.2.x] fixed : deadlock after !py without args
git-svn-id: https://pykd.svn.codeplex.com/svn@81239 9b283d60-5439-405e-af05-b73fd8c4d996
This commit is contained in:
parent
44fd2e17cb
commit
5763752e5c
@ -227,7 +227,14 @@ py( PDEBUG_CLIENT4 client, PCSTR args )
|
|||||||
}
|
}
|
||||||
|
|
||||||
if ( argsList.size() == 0 )
|
if ( argsList.size() == 0 )
|
||||||
return S_OK;
|
{
|
||||||
|
Py_EndInterpreter( localInterpreter );
|
||||||
|
PyThreadState_Swap( globalInterpreter );
|
||||||
|
|
||||||
|
WindbgGlobalSession::SavePyState();
|
||||||
|
|
||||||
|
return S_OK;
|
||||||
|
}
|
||||||
|
|
||||||
char **pythonArgs = new char* [ argsList.size() ];
|
char **pythonArgs = new char* [ argsList.size() ];
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user