Skip to content

Conversation

@ArceDanielShok
Copy link
Contributor

This Pull Request introduces two main changes to improve the management and consistency of the addon: the creation of a singleton for the addon and the conversion of the unregister method to static.

  • Creation of a singleton for the addon:
    • A singleton pattern has been implemented for the addon. This ensures that only one instance of the addon exists throughout the application, facilitating state management and preventing potential conflicts.
  • Conversion of the unregister method to static:
    • The unregister method, which used provider id for deregistration, has been converted to a static method. This allows for more direct and consistent access to the method, without the need for an addon instance.

@ArceDanielShok ArceDanielShok merged commit 7f98540 into master Mar 31, 2025
2 checks passed
@ArceDanielShok ArceDanielShok deleted the static-addon branch March 31, 2025 14:15
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