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
delete the process at the end of the main method
[simgrid.git]
/
examples
/
cxx
/
explicitDestination
/
Forwarder.cxx
diff --git
a/examples/cxx/explicitDestination/Forwarder.cxx
b/examples/cxx/explicitDestination/Forwarder.cxx
index
f209d18
..
6ed093c
100644
(file)
--- a/
examples/cxx/explicitDestination/Forwarder.cxx
+++ b/
examples/cxx/explicitDestination/Forwarder.cxx
@@
-56,5
+56,6
@@
int Forwarder::main(int argc, char** argv)
\r
cout <<"[" << getName() << ":" << getHost().getName() << "] " << "I'm done. See you!" << endl;
\r
\r
+ delete this;
\r
return 0;
\r
}
\ No newline at end of file