From c769579a8be568370d2657059486574371e914c2 Mon Sep 17 00:00:00 2001 From: Arnaud Giersch Date: Tue, 24 May 2011 13:24:36 +0200 Subject: [PATCH 1/1] Do not run a last data_send round on exit. --- process.cpp | 3 --- 1 file changed, 3 deletions(-) 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", -- 2.39.5