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

Prevent leaking of DBus connections on discovery #92

Merged
merged 1 commit into from
Aug 2, 2019

Conversation

JoeHut
Copy link
Contributor

@JoeHut JoeHut commented Jul 16, 2019

During a call to discover() on the Bluez backend, a DBus connection is
opened, but never closed. If discover() is called multiple times while
the application is running, DBus at some point prevents opening
additional connections.

Make sure the bus connection is closed after discovery.

Fixes #91

During a call to discover() on the Bluez backend, a DBus connection is
opened, but never closed. If discover() is called multiple times while
the application is running, DBus at some point prevents opening
additional connections.

Make sure the bus connection is closed after discovery.
@hbldh hbldh self-assigned this Jul 16, 2019
@hbldh hbldh added this to the v0.5.0 milestone Jul 16, 2019
hbldh added a commit that referenced this pull request Jul 16, 2019
Merge branch 'workaroundgmbh-fix/connection_leak' into develop
@hbldh
Copy link
Owner

hbldh commented Jul 16, 2019

Merged this to develop branch. It will be released with version 0.5.0.

@hbldh hbldh merged commit 1ef2ba3 into hbldh:master Aug 2, 2019
hbldh added a commit that referenced this pull request Aug 2, 2019
macOS support added (thanks to @kevincar)
Merged #80: macOS development
Merged #90 which fixed #89: Leaking callbacks in BlueZ
Merged #92 which fixed #91, Prevent leaking of DBus connections on discovery
Merged #96: Regex patterns
Merged #86 which fixed #83 and #82
Recovered old .NET discovery method to try for #95
@arthur-proglove arthur-proglove deleted the fix/connection_leak branch October 26, 2022 08:13
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.

Leak of active DBus connections
2 participants