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:
03d716b
)
freeProfiling1() needs to be after endProfiling()
author
Simon Marlow
<simonmar@microsoft.com>
Fri, 24 Aug 2007 13:19:25 +0000
(13:19 +0000)
committer
Simon Marlow
<simonmar@microsoft.com>
Fri, 24 Aug 2007 13:19:25 +0000
(13:19 +0000)
Fixes another crash with biographical profiling.
rts/RtsStartup.c
patch
|
blob
|
history
diff --git
a/rts/RtsStartup.c
b/rts/RtsStartup.c
index
951b07f
..
5104721
100644
(file)
--- a/
rts/RtsStartup.c
+++ b/
rts/RtsStartup.c
@@
-478,9
+478,8
@@
hs_exit_(rtsBool wait_foreign)
reportCCSProfiling();
#endif
- freeProfiling1();
-
endProfiling();
+ freeProfiling1();
#ifdef PROFILING
// Originally, this was in report_ccs_profiling(). Now, retainer