You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I've been reading through the codebase. It looks like SubsystemDescriptors hold Arc<SubsystemData>. And the SubsystemData holds the subsystem descriptors (without an Arc). Doesn't this mean that even if the parent subsystem is dropped, there will be a cyclic reference between a SubsystemDescriptor and a SubsystemData? So neither gets dropped and the memory is leaked
The text was updated successfully, but these errors were encountered:
Hi, I've been reading through the codebase. It looks like
SubsystemDescriptor
s holdArc<SubsystemData>
. And theSubsystemData
holds the subsystem descriptors (without anArc
). Doesn't this mean that even if the parent subsystem is dropped, there will be a cyclic reference between aSubsystemDescriptor
and aSubsystemData
? So neither gets dropped and the memory is leakedThe text was updated successfully, but these errors were encountered: