Commit 0e1da383 authored by
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.
Showing with 13 additions and 2 deletions