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
[surf] Triggers the destructed callbacks on the full object
[simgrid.git]
/
src
/
surf
/
cpu_ti.cpp
diff --git
a/src/surf/cpu_ti.cpp
b/src/surf/cpu_ti.cpp
index
dd729be
..
3a23bf8
100644
(file)
--- a/
src/surf/cpu_ti.cpp
+++ b/
src/surf/cpu_ti.cpp
@@
-584,7
+584,9
@@
CpuTi::CpuTi(CpuTiModel *model, const char *name, xbt_dynar_t speedPeak,
}
};
-CpuTi::~CpuTi(){
+CpuTi::~CpuTi()
+{
+ this->die();
modified(false);
delete p_availTrace;
delete p_actionSet;