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
let the actor clean for itself
[simgrid.git]
/
src
/
kernel
/
context
/
Context.cpp
diff --git
a/src/kernel/context/Context.cpp
b/src/kernel/context/Context.cpp
index dc182b945fc89ee96ab7ed067787192383025905..bbbf5eb0613d2f34add3157f0bb55c962952f1b3 100644
(file)
--- a/
src/kernel/context/Context.cpp
+++ b/
src/kernel/context/Context.cpp
@@
-99,12
+99,6
@@
void Context::stop()
simgrid::simix::simcall([this] {
simgrid::s4u::Actor::on_destruction(actor_->iface());
simgrid::simix::simcall([this] {
simgrid::s4u::Actor::on_destruction(actor_->iface());
- /* Unregister from the kill timer if any */
- if (actor_->kill_timer != nullptr) {
- actor_->kill_timer->remove();
- actor_->kill_timer = nullptr;
- }
-
actor_->cleanup();
});
this->iwannadie = true;
actor_->cleanup();
});
this->iwannadie = true;