Bug fix for observed in particles, getNth and naming for contact lists

This commit is contained in:
Hamidreza
2025-03-14 18:33:02 +03:30
parent b65be8881c
commit 892f5395bc
9 changed files with 47 additions and 20 deletions

View File

@ -62,6 +62,12 @@ pFlow::particles::particles(systemControl& control, const shape& shapes)
//idHandler_().initialIdCheck();
}
pFlow::particles::~particles()
{
// invalidates / unsobscribe from subscriber before its actual destruction
addToSubscriber(nullptr, message::Empty());
}
bool
pFlow::particles::beforeIteration()
{

View File

@ -98,6 +98,8 @@ public:
explicit particles(systemControl& control, const shape& shapes);
~particles() override;
inline const auto& dynPointStruct() const
{
return dynPointStruct_;