]> AND Public Git Repository - simgrid.git/blobdiff - src/kernel/EngineImpl.cpp
Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Fix infinite recursion.
[simgrid.git] / src / kernel / EngineImpl.cpp
index 00d0f165572c5ede0a78fd211f3c029a016648b8..717e7710d3a6d9fb07612da41a057195083036b5 100644 (file)
@@ -178,10 +178,6 @@ EngineImpl::~EngineImpl()
   delete maestro_;
   delete context_factory_;
 
-  /* Free the remaining data structures */
-#if SIMGRID_HAVE_MC
-  xbt_dynar_free(&actors_vector_);
-#endif
   /* clear models before freeing handle, network models can use external callback defined in the handle */
   models_prio_.clear();
 }
@@ -195,7 +191,7 @@ void EngineImpl::initialize(int* argc, char** argv)
   // The communication initialization is done ASAP, as we need to get some init parameters from the MC for different
   // layers. But instance_ needs to be created, as we send the address of some of its fields to the MC that wants to
   // read them directly.
-  simgrid::mc::AppSide::initialize(actors_vector_);
+  simgrid::mc::AppSide::initialize();
 #endif
 
   if (xbt_initialized == 0) {