Closed spanezz closed 3 years ago
At the moment the dataset Session can keep a pool of references to known datasets. And each dataset needs to keep a reference to the session.
This created a circular std::shared_ptr reference loop, which makes it impossible to ever deallocate the session and the datasets it has in the pool.
I'll have to split the session and the pool into two different objects
At the moment the dataset Session can keep a pool of references to known datasets. And each dataset needs to keep a reference to the session.
This created a circular std::shared_ptr reference loop, which makes it impossible to ever deallocate the session and the datasets it has in the pool.
I'll have to split the session and the pool into two different objects