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

Pass in loop to PluginManager #19

Merged
merged 1 commit into from
Mar 10, 2021
Merged

Pass in loop to PluginManager #19

merged 1 commit into from
Mar 10, 2021

Conversation

FlorianLudwig
Copy link
Member

If loop is passed to MQTTClient, previously it was not passed down
to PluginManager, which could potentially grab a different loop from
asyncio.get_event_loop(), resulting in a separate event loop being
created or wrong one being used. Now the loop argument is passed down
as expected.


from njouanin/hbmqtt#126

If `loop` is passed to `MQTTClient`, previously it was not passed down
to `PluginManager`, which could potentially grab a different loop from
`asyncio.get_event_loop()`, resulting in a separate event loop being
created or wrong one being used. Now the `loop` argument is passed down
as expected.
@FlorianLudwig
Copy link
Member Author

LGTM

@FlorianLudwig FlorianLudwig merged commit 7cd230e into master Mar 10, 2021
@FlorianLudwig FlorianLudwig deleted the pass-loop branch March 21, 2021 15:47
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.

None yet

3 participants