=?UTF-8?Q?Bernhard=20=C3=9Cbelacker=20?=: winedbg: Call DebugActiveProcessStop when detaching.

Alexandre Julliard julliard at winehq.org
Mon Jun 17 14:07:47 CDT 2013


Module: wine
Branch: master
Commit: b62b740de20269fc4c785faac4b51a314fee7cf1
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=b62b740de20269fc4c785faac4b51a314fee7cf1

Author: Bernhard Übelacker <bernhardu at 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;
     }




More information about the wine-cvs mailing list