ide: Fixed PDB debugger exit issue

git-svn-id: svn://ultimatepp.org/upp/trunk@7603 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2014-08-25 16:55:54 +00:00
parent f73dab5a3e
commit 4e6223bfef

View file

@ -339,14 +339,14 @@ Pdb::~Pdb()
ContinueDebugEvent(event.dwProcessId, event.dwThreadId, DBG_CONTINUE);
TerminateProcess(hProcess, -1);
// TerminateProcess should take care of everything...
do {
/* do {
if(!WaitForDebugEvent(&event, 1500))
break;
if(!ContinueDebugEvent(event.dwProcessId, event.dwThreadId, DBG_CONTINUE))
break;
}
while(event.dwDebugEventCode != EXIT_PROCESS_DEBUG_EVENT);
CleanupOnExit();
*/ CleanupOnExit();
}
StoreToGlobal(*this, CONFIGNAME);
IdeRemoveBottom(*this);