-
Notifications
You must be signed in to change notification settings - Fork 75
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix for lifetime of entities not matching the attached callback funct…
…ions Listeners on DataReader/DataWriter classes causing the org::eclipse::cyclonedds::core::EntityDelegate::prevent_callbacks() function to assert(false) when all references to it have expired but there are still callbacks referencing it. This is fixed by first acquiring a strong reference to the entity assuring its lifetime for the callback function Signed-off-by: Martijn Reicher <[email protected]>
- Loading branch information
1 parent
a3c9606
commit a49b3f0
Showing
3 changed files
with
140 additions
and
87 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.