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

Fix bug where modules would be the same object across protocols #250

Merged
merged 2 commits into from
Apr 27, 2024

Conversation

NeffIsBack
Copy link
Contributor

@NeffIsBack NeffIsBack commented Apr 6, 2024

As mentioned in #249 (comment) modules were the same object across different targets resulting in potential variable overwrites on the module objects themselves. See issue in #249 (comment)

We will now only load specified modules at the beginning to do sanity checks (if we would do that in the protocol it would have already created connections and also print stuff multiple times). The modules are loaded in the protocol itself and only if specified.
Now we have different module objects for different protocols:
image

@NeffIsBack NeffIsBack added the bug-fix This Pull Request fixes a bug label Apr 6, 2024
@mpgn mpgn added this to the v1.2.0 milestone Apr 10, 2024
@Marshall-Hallenbeck
Copy link
Collaborator

Running tests

Copy link
Collaborator

@Marshall-Hallenbeck Marshall-Hallenbeck left a comment

Choose a reason for hiding this comment

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

LGTM

@NeffIsBack NeffIsBack merged commit 62dcc28 into main Apr 27, 2024
6 checks passed
@NeffIsBack NeffIsBack deleted the neff-fix-modules branch April 27, 2024 22:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug-fix This Pull Request fixes a bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants