Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix _wait_removed completion on invalid object path
The _wait_removed method registers the "InterfacesRemoved" callback on the adapter path of the device without checking which object was removed when called. This means that any removed interface while a connection is being established can cause the _wait_removed to complete and cancel the connection[1]. This commit simply checks that the callback is for the proper device object path. [1] #1489
- Loading branch information