Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Cope with new way of destroying actions, now if the action is destroyed assume that...
[simgrid.git] / src / simix / smx_network.c
index 992f98c..1325aac 100644 (file)
@@ -721,6 +721,10 @@ double SIMIX_comm_get_remains(smx_action_t action)
 {
   double remains;
 
+  if(!action){
+      return 0;
+  }
+
   switch (action->state) {
 
     case SIMIX_RUNNING: