]> AND Public Git Repository - simgrid.git/blobdiff - src/simix/smx_process.c
Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Move a cleanup call to a better place.
[simgrid.git] / src / simix / smx_process.c
index 009eb1d7c6a77d2da1bff94da85e83f678aba557..0e92bfc46310a90e1cfcc40db1a0c6583edd6647 100644 (file)
@@ -41,6 +41,8 @@ void SIMIX_process_empty_trash(void)
     /* Free the exception allocated at creation time */
     if (process->exception)
       free(process->exception);
+    if (process->properties)
+      xbt_dict_free(&process->properties);
 
     free(process->name);
     process->name = NULL;
@@ -442,6 +444,7 @@ void SIMIX_process_schedule(smx_process_t new_process)
 
   /* schedule the context */
   SIMIX_context_resume(old_process->context, new_process->context);
+  DEBUG1("Resumed from scheduling context: '%s'", new_process->name);
 
   /* restore the current process to the previously saved process */
   simix_global->current_process = old_process;