Module: wine Branch: master Commit: b62b740de20269fc4c785faac4b51a314fee7cf1 URL: http://source.winehq.org/git/wine.git/?a=commit;h=b62b740de20269fc4c785faac4...
Author: Bernhard Übelacker bernhardu@vr-web.de Date: Fri Jun 14 23:28:35 2013 +0200
winedbg: Call DebugActiveProcessStop when detaching.
---
programs/winedbg/tgt_active.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/programs/winedbg/tgt_active.c b/programs/winedbg/tgt_active.c index a264a67..0c8e869 100644 --- a/programs/winedbg/tgt_active.c +++ b/programs/winedbg/tgt_active.c @@ -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); } } - else + + if (!kill) { if (!DebugActiveProcessStop(pcs->pid)) return FALSE; }