Closed ecorm closed 9 years ago
This is caused by Subscription
's implicit move constructor/assignment not resetting the subscriber_
member of the source object. Same thing for Registration
and the callee_
member.
This is now fixed in our private repo. Will be published to the public GitHub repo soon.
When a
ScopedRegistation
is moved, the source object is still able to unregister the registration when destroyed. This leads to registrations being accidentally unregistered when aScopedRegistation
is moved to another object.The same problem occurs with
ScopedSubscription
.