Skip to content

Make sure to register commands from modules only once - #4953

Merged
ajpotts merged 1 commit into
Bears-R-Us:mainfrom
e-kayrakli:register-once
Sep 29, 2025
Merged

ajpotts merged 1 commit into
Bears-R-Us:mainfrom
e-kayrakli:register-once

Conversation

@e-kayrakli

Copy link
Copy Markdown
Contributor

Resolves #4835.

After this PR, we cache the modules from which we have registered commands. This avoids compilation issues caused by stamping out same functions twice in case a module appears twice in the configuration file.

@e-kayrakli
e-kayrakli requested a review from 1RyanK September 26, 2025 16:42

@1RyanK 1RyanK 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.

Looks good!

@ajpotts ajpotts 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.

Thanks!

@ajpotts
ajpotts added this pull request to the merge queue Sep 29, 2025
Merged via the queue into Bears-R-Us:main with commit e077dc4 Sep 29, 2025
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.

Message registration: Same module appearing twice in the configuration file results in two copies to be stamped out

4 participants