-
Notifications
You must be signed in to change notification settings - Fork 793
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ensure correct boost singleton destruction order [13288] #2356
Conversation
Signed-off-by: Miguel Company <MiguelCompany@eprosima.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Only a typo
Signed-off-by: Miguel Company <MiguelCompany@eprosima.com>
Signed-off-by: Miguel Company <MiguelCompany@eprosima.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👌
Signed-off-by: Miguel Company <MiguelCompany@eprosima.com>
6b2181f
to
ccdf876
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@Mergifyio backport 2.4.x 2.3.x |
* Refs 13287. Ensure correct boost singleton destruction order. Signed-off-by: Miguel Company <MiguelCompany@eprosima.com> * Refs 13288. Uncrustify. Signed-off-by: Miguel Company <MiguelCompany@eprosima.com> * Refs 13288. Fixed typo. Signed-off-by: Miguel Company <MiguelCompany@eprosima.com> * Refs 13288. Fixed link error on ListenerTests. Signed-off-by: Miguel Company <MiguelCompany@eprosima.com> (cherry picked from commit 80a44fe)
* Refs 13287. Ensure correct boost singleton destruction order. Signed-off-by: Miguel Company <MiguelCompany@eprosima.com> * Refs 13288. Uncrustify. Signed-off-by: Miguel Company <MiguelCompany@eprosima.com> * Refs 13288. Fixed typo. Signed-off-by: Miguel Company <MiguelCompany@eprosima.com> * Refs 13288. Fixed link error on ListenerTests. Signed-off-by: Miguel Company <MiguelCompany@eprosima.com> (cherry picked from commit 80a44fe) # Conflicts: # test/unittest/dds/status/CMakeLists.txt
✅ Backports have been created
|
* Ensure correct boost singleton destruction order (#2356) * Refs 13287. Ensure correct boost singleton destruction order. Signed-off-by: Miguel Company <MiguelCompany@eprosima.com> * Refs 13288. Uncrustify. Signed-off-by: Miguel Company <MiguelCompany@eprosima.com> * Refs 13288. Fixed typo. Signed-off-by: Miguel Company <MiguelCompany@eprosima.com> * Refs 13288. Fixed link error on ListenerTests. Signed-off-by: Miguel Company <MiguelCompany@eprosima.com> (cherry picked from commit 80a44fe) # Conflicts: # test/unittest/dds/status/CMakeLists.txt * Refs 13287. Fix conflicts. Signed-off-by: Miguel Company <MiguelCompany@eprosima.com> Co-authored-by: Miguel Company <miguelcompany@eprosima.com>
The first time an interprocess synchronization object is created by boost, a singleton is instantiated and its destructor is registered with std::atexit(&atexit_work).
This PR ensures that singleton is created before the DomainParticipantFactory instance so that it is destroyed after all the participants have been deleted.