aboutsummaryrefslogtreecommitdiffstats
path: root/mpm/python/usrp_mpm/rpc_server.py
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2017-05-16 15:30:24 -0700
committerMartin Braun <martin.braun@ettus.com>2017-12-22 15:03:53 -0800
commit0a9632ad39179ce80fe3c20a990e488de06170b1 (patch)
treeb7fde33134bf0b50cc159f7aad19e9a2ad03c9d9 /mpm/python/usrp_mpm/rpc_server.py
parentcae618a8df892aeb4cb9b8ee89fb49a0412fe4a6 (diff)
downloaduhd-0a9632ad39179ce80fe3c20a990e488de06170b1.tar.gz
uhd-0a9632ad39179ce80fe3c20a990e488de06170b1.tar.bz2
uhd-0a9632ad39179ce80fe3c20a990e488de06170b1.zip
mpm: RPC server unitializes a device when claim is lost
Diffstat (limited to 'mpm/python/usrp_mpm/rpc_server.py')
-rw-r--r--mpm/python/usrp_mpm/rpc_server.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/mpm/python/usrp_mpm/rpc_server.py b/mpm/python/usrp_mpm/rpc_server.py
index 6607aa082..ce82393ab 100644
--- a/mpm/python/usrp_mpm/rpc_server.py
+++ b/mpm/python/usrp_mpm/rpc_server.py
@@ -153,6 +153,7 @@ class MPMServer(RPCServer):
self._state.claim_token.value = ""
self.sender_id = None
self.periph_manager.claimed = False
+ self.periph_manager.deinit()
self._timer.kill()
def _reset_timer(self):