projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
86876c3
)
exitScheduler: move boundTaskExiting call outside #ifdef THREADED_RTS
author
Simon Marlow
<marlowsd@gmail.com>
Tue, 1 Dec 2009 11:33:52 +0000
(11:33 +0000)
committer
Simon Marlow
<marlowsd@gmail.com>
Tue, 1 Dec 2009 11:33:52 +0000
(11:33 +0000)
Fixes a little leaked memory at shutdown in non-threaded RTS
rts/Schedule.c
patch
|
blob
|
history
diff --git
a/rts/Schedule.c
b/rts/Schedule.c
index
c377974
..
bb36f9b
100644
(file)
--- a/
rts/Schedule.c
+++ b/
rts/Schedule.c
@@
-2100,9
+2100,10
@@
exitScheduler(
for (i = 0; i < n_capabilities; i++) {
shutdownCapability(&capabilities[i], task, wait_foreign);
}
for (i = 0; i < n_capabilities; i++) {
shutdownCapability(&capabilities[i], task, wait_foreign);
}
- boundTaskExiting(task);
}
#endif
}
#endif
+
+ boundTaskExiting(task);
}
void
}
void