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:
parent
3d08e84ceb
commit
099cfbcea1
1 changed files with 1 additions and 0 deletions
|
|
@ -82,6 +82,7 @@ class LoopServer(api.BaseAPI):
|
|||
def _cleanup(self):
|
||||
for lo in self.devs:
|
||||
lo.close()
|
||||
self.ctl.close()
|
||||
|
||||
|
||||
class LoopClient:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue