Skip to content

Commit

Permalink
Unregister third-factor conn factories on ResetKernel
Browse files Browse the repository at this point in the history
  • Loading branch information
heplesser committed May 6, 2024
1 parent 4a3396b commit 6fd3995
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions nestkernel/connection_manager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,13 @@ nest::ConnectionManager::finalize( const bool adjust_number_of_threads_or_rng_on
}
connbuilder_factories_.clear();
connruledict_->clear();

for ( auto tcbf : thirdconnbuilder_factories_ )
{
delete tcbf;
}
thirdconnbuilder_factories_.clear();
thirdconnruledict_->clear();
}
}

Expand Down

0 comments on commit 6fd3995

Please sign in to comment.