mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-08-28 06:12:53 -06:00
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:
parent
f73dab5a3e
commit
4e6223bfef
1 changed files with 2 additions and 2 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue