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

#60 Decouple SignManager and BlueMapAPIConnector through listener #62

Merged
merged 1 commit into from
Jul 26, 2024

Conversation

tpwalke2
Copy link
Owner

The constructors of SignManager and BlueMapAPIConnector had a circular dependency. While the BlueMapAPIConnector needs access to the SignManager instance sometimes, it does not need it at instantiation.

This PR introduces a "reset" event to the BlueMapAPIConnector for which the SignManager registers as a listener. This decouples the constructors of both classes.

@tpwalke2 tpwalke2 merged commit 4b0b9c5 into main Jul 26, 2024
1 check passed
@tpwalke2 tpwalke2 deleted the 60-exception branch July 26, 2024 10:07
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.

1 participant