X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/8bed05033724fb48c90cdc76f30a4d5ebcc050a5..45fc9b393d412fb043fadf8e660fa6a137125f45:/examples/cxx/explicitDestination/Slave.cxx?ds=sidebyside diff --git a/examples/cxx/explicitDestination/Slave.cxx b/examples/cxx/explicitDestination/Slave.cxx index fdfebb2180..6b4de500f8 100644 --- a/examples/cxx/explicitDestination/Slave.cxx +++ b/examples/cxx/explicitDestination/Slave.cxx @@ -39,6 +39,7 @@ int Slave::main(int argc, char** argv) } cout <<"[" << getName() << ":" << getHost().getName() << "] " << "Received Finalize. I'm done. See you!" << endl; - + + delete this; return 0; } \ No newline at end of file