free MPI Communicators on destruction (#134)

make sure that all communicators that have been created during the
runtime of the application are correctly freed again, to avoid memory
leaks.
Этот коммит содержится в:
Edgar Gabriel
2025-05-20 09:59:00 -05:00
коммит произвёл GitHub
родитель 474112d03c
Коммит bce329abd6
6 изменённых файлов: 19 добавлений и 8 удалений
+1 -1
Просмотреть файл
@@ -223,7 +223,7 @@ class Backend {
* @todo document where this is used and try to coalesce this into another
* class
*/
MPI_Comm backend_comm{};
MPI_Comm backend_comm{MPI_COMM_NULL};
/**
* @brief Object contains the interface and internal data structures