Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add ModuleLoaded event to ModuleManager #958

Merged
merged 1 commit into from
Apr 13, 2024

Conversation

Flyga-M
Copy link
Contributor

@Flyga-M Flyga-M commented Apr 12, 2024

Pass on the Module.ModuleLoaded event to a new ModuleManager.ModuleLoaded event, when the module is enabled.

This makes it easier to ensure load order for dependent modules when accessing the parent module. Right now there's no straightforward way of doing this.
Related to #923.

Just because i stumbled over it, there is also a one line fix in here:
fix: set ModuleDisabled to null when disposing ModuleManager

Discussion Reference

All new features must be discussed prior to code review. This is to ensure that the implementation aligns with other design considerations. Please link to the Discord discussion:

https://discord.com/channels/531175899588984842/599270434642460753/1228126988640718858

Is this a breaking change?

Breaking changes require additional review prior to merging. If you answer yes, please explain what breaking changes have been made.

No

fix: set ModuleDisabled to null when disposing ModuleManager
Copy link

sonarcloud bot commented Apr 12, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

@dlamkins dlamkins added bug Something isn't working or doesn't work as expected. feature New feature or request labels Apr 13, 2024
@dlamkins dlamkins merged commit 34fe88b into blish-hud:dev Apr 13, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working or doesn't work as expected. feature New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants