Skip to content

[MessageControl] Fix a shutdown issue#361

Merged
VeithMetro merged 2 commits intomasterfrom
development/message-control-shutdown
Jul 7, 2025
Merged

[MessageControl] Fix a shutdown issue#361
VeithMetro merged 2 commits intomasterfrom
development/message-control-shutdown

Conversation

@VeithMetro
Copy link
Copy Markdown
Contributor

The Cleanups vector has to outlive the Observer member of MessageControl during its destruction, otherwise if someone tries to Detach in the meantime, the iterator in the Cleanup() method will become invalid

@VeithMetro VeithMetro requested a review from sebaszm July 3, 2025 06:58
@VeithMetro VeithMetro merged commit 03b3f8d into master Jul 7, 2025
88 of 115 checks passed
@VeithMetro VeithMetro deleted the development/message-control-shutdown branch July 7, 2025 08:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants