A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Only shutdown the logs when all the XBT users are gone
[simgrid.git]
/
src
/
xbt
/
xbt_main.c
diff --git
a/src/xbt/xbt_main.c
b/src/xbt/xbt_main.c
index
fff55bc
..
f16ad00
100644
(file)
--- a/
src/xbt/xbt_main.c
+++ b/
src/xbt/xbt_main.c
@@
-49,8
+49,8
@@
xbt_exit(){
xbt_dict_exit();
xbt_context_exit();
xbt_thread_mod_exit();
xbt_dict_exit();
xbt_context_exit();
xbt_thread_mod_exit();
+ xbt_log_exit();
}
}
- xbt_log_exit();
if (xbt_initialized == 0)
free(xbt_binary_name);
if (xbt_initialized == 0)
free(xbt_binary_name);