Fixes for review

This commit is contained in:
ChrisTerBeke 2019-01-15 09:37:38 +01:00
parent de24c7d9c3
commit b7fb969524
2 changed files with 3 additions and 6 deletions

View file

@ -101,7 +101,9 @@ class CloudOutputDeviceManager:
if not active_machine:
return
# Remove all output devices that we have registered. TODO: Why??
# Remove all output devices that we have registered.
# This is needed because when we switch machines we can only leave
# output devices that are meant for that machine.
for stored_cluster_id in self._remote_clusters:
self._output_device_manager.removeOutputDevice(stored_cluster_id)