Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
device-monitor: fix device listing without --follow
In !427, I removed the call to get_devices in order to always print added devices from the bus handler, however this requires the main loop to run until all pending messages have been consumed. This commit achieves this by always running the main loop, and simply adding an idle source to quit it in the non --follow case.
- Loading branch information