remoteloop: close loop device controller

When cleaning up the `RemoteLoop` API instance, close the loop
controller in addition to closing all the open loop devices.
This commit is contained in:
Christian Kellner 2021-08-03 10:36:17 +00:00 committed by Tom Gundersen
parent 3d08e84ceb
commit 099cfbcea1

View file

@ -82,6 +82,7 @@ class LoopServer(api.BaseAPI):
def _cleanup(self):
for lo in self.devs:
lo.close()
self.ctl.close()
class LoopClient: