aboutsummaryrefslogtreecommitdiffstats
path: root/host/utils
diff options
context:
space:
mode:
authorBrent Stapleton <brent.stapleton@ettus.com>2018-08-14 10:05:56 -0700
committerBrent Stapleton <bstapleton@g.hmc.edu>2018-08-27 18:14:23 -0700
commit191e250827a54d15abc9f7a5586318a29728d1b0 (patch)
treec677343908e19b4c6c333687db56859f988f8fe9 /host/utils
parent6849514a05259dc6282d41325c6ed3b3ac12d0cb (diff)
downloaduhd-191e250827a54d15abc9f7a5586318a29728d1b0.tar.gz
uhd-191e250827a54d15abc9f7a5586318a29728d1b0.tar.bz2
uhd-191e250827a54d15abc9f7a5586318a29728d1b0.zip
mpm: reset the RPC server upon reload
When reloading the Periph Manager (as when we run the image loader), we need to run the RPCServer `__init__` function in order to reset the cache of RPC methods. Otherwise, that cache keeps stale references to old functions (and prevents garbage collection). It may be possible to reset the method cache some other way, but the `_methods` attribute of RPCServer is Cython, and doesn't seem to be accessible in our Python code.
Diffstat (limited to 'host/utils')
0 files changed, 0 insertions, 0 deletions