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
If the object with .singleInstance() holds a nested container inside, the object will remain undeleted.
I wonder if the internal objects can no longer be deleted by a circular reference by shared pointer?
I found that RegistrationScope for parent container is not deleted even after it has been copied in NestedRegistrationScope. This patch makes it work as expected, Is this correct?
If the object with
.singleInstance()
holds a nested container inside, the object will remain undeleted.I wonder if the internal objects can no longer be deleted by a circular reference by shared pointer?
Reproduction code:
Expected behavior
Actual behavior
Child dtor
output!)The text was updated successfully, but these errors were encountered: