From: Arnaud Giersch Date: Tue, 24 May 2011 11:24:36 +0000 (+0200) Subject: Do not run a last data_send round on exit. X-Git-Tag: v0.1~62^2~2 X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/loba.git/commitdiff_plain/c769579a8be568370d2657059486574371e914c2?ds=sidebyside;hp=-c Do not run a last data_send round on exit. --- c769579a8be568370d2657059486574371e914c2 diff --git a/process.cpp b/process.cpp index 8adc217..8a73f38 100644 --- a/process.cpp +++ b/process.cpp @@ -201,9 +201,6 @@ void process::compute_loop() } XBT_VERB("Going to finalize for %s...", __func__); - // last send, for not losing load scheduled to be sent - std::for_each(neigh.begin(), neigh.end(), - std::bind(&process::data_send, this, _1)); finalizing = true; total_load_running -= real_load; XBT_DEBUG("send DATA_CLOSE to %zu neighbor%s",