Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
ContextBoost: destroy key.
[simgrid.git] / src / kernel / context / ContextBoost.cpp
index 6e26b96..bf96864 100644 (file)
@@ -219,6 +219,7 @@ void ParallelBoostContext::finalize()
   delete parmap_;
   parmap_ = nullptr;
   workers_context_.clear();
+  xbt_os_thread_key_destroy(worker_id_key_);
 }
 
 void ParallelBoostContext::run_all()