Ecere Software
/
sdk
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
52f635b
)
ide;debugger; fixed GdbExit doesn't wait for new valgrind threads to exit. threads...
author
Rejean Loyer
<rejean.loyer@gmail.com>
Tue, 8 Oct 2013 01:19:56 +0000
(21:19 -0400)
committer
Jerome St-Louis
<jerome@ecere.com>
Wed, 9 Oct 2013 06:32:14 +0000
(
02:32
-0400)
ide/src/debugger/Debugger.ec
patch
|
blob
|
history
diff --git
a/ide/src/debugger/Debugger.ec
b/ide/src/debugger/Debugger.ec
index
b702a96
..
58b76b7
100644
(file)
--- a/
ide/src/debugger/Debugger.ec
+++ b/
ide/src/debugger/Debugger.ec
@@
-2551,6
+2551,21
@@
class Debugger
gdbThread.Wait();
app.Lock();
}
+ if(vgLogThread)
+ {
+ app.Unlock();
+ vgLogThread.Wait();
+ app.Lock();
+ }
+ if(vgTargetThread)
+ {
+ app.Unlock();
+ vgTargetThread.Wait();
+ app.Lock();
+ }
+
+ if(vgLogFile)
+ delete vgLogFile;
if(gdbHandle)
{
gdbHandle.Wait();