Skip to content

Fix duplicate plugin loading across search directories - #374

Merged
bl4ckb0ne merged 1 commit into
collabora:masterfrom
shkwon98:fix/duplicate-plugin-loading
Oct 9, 2026
Merged

bl4ckb0ne merged 1 commit into
collabora:masterfrom
shkwon98:fix/duplicate-plugin-loading

Conversation

@shkwon98

@shkwon98 shkwon98 commented Oct 9, 2026

Copy link
Copy Markdown
Contributor

The plugin loader deduplicates candidates by their full paths. When build and install directories contain separate copies of the same plugin, both copies are loaded, causing duplicate configuration registration and an assertion failure in survive_config_bind_variable.

Deduplicate candidates by filename instead, retaining the first candidate in search order.

@bl4ckb0ne bl4ckb0ne left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

LGTM, thanks

@bl4ckb0ne
bl4ckb0ne merged commit 23f0366 into collabora:master Oct 9, 2026
2 of 4 checks passed
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