Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Reset t_simdata->comm after comm is over.
[simgrid.git] / src / msg / msg_mailbox.c
index 4eb5053183aab7e84538d68848e7213430fff4cc..c03ab29de2b55370d785df278f2c7508f131ec72 100644 (file)
@@ -186,7 +186,7 @@ MSG_mailbox_put_with_timeout(msg_mailbox_t mailbox, m_task_t task,
     t_simdata->isused = 0;
   }
 
-
+  t_simdata->comm = NULL;
   p_simdata->waiting_task = NULL;
 #ifdef HAVE_TRACING
   if (call_end)