winedbg: Call DebugActiveProcessStop when detaching.

This commit is contained in:
Bernhard Übelacker 2013-06-14 23:28:35 +02:00 committed by Alexandre Julliard
parent cc086f09ae
commit b62b740de2

View file

@ -946,7 +946,8 @@ static BOOL tgt_process_active_close_process(struct dbg_process* pcs, BOOL kill)
ContinueDebugEvent(dbg_curr_pid, dbg_curr_tid, DBG_CONTINUE); ContinueDebugEvent(dbg_curr_pid, dbg_curr_tid, DBG_CONTINUE);
} }
} }
else
if (!kill)
{ {
if (!DebugActiveProcessStop(pcs->pid)) return FALSE; if (!DebugActiveProcessStop(pcs->pid)) return FALSE;
} }