Skip to content

Fix shutdown ordering for OOP IPlugin Release#2171

Open
nxtum wants to merge 1 commit into
rdkcentral:masterfrom
nxtum:oop-shutdown-iplugin-order
Open

Fix shutdown ordering for OOP IPlugin Release#2171
nxtum wants to merge 1 commit into
rdkcentral:masterfrom
nxtum:oop-shutdown-iplugin-order

Conversation

@nxtum

@nxtum nxtum commented Jul 10, 2026

Copy link
Copy Markdown
Contributor

Fix shutdown of plugins where IPlugin itself is hosted by ThunderPlugin OOP

The failing release was the host releasing the plugin interface itself

ReleaseInterfaces() could terminate _connection before releasing currentIF
ThunderPlugin could call WorkerPool:Stop() from the ServiceAdministrator callback when the final IPlugin object was destroyed

That allowed the ThunderPlugin process to close while the host was still waiting for the remote currentIF->Release() to complete...

Copilot AI review requested due to automatic review settings July 10, 2026 22:16

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@nxtum nxtum requested a review from sebaszm July 13, 2026 12:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants