diff options
author | jcorgan | 2008-01-15 19:54:22 +0000 |
---|---|---|
committer | jcorgan | 2008-01-15 19:54:22 +0000 |
commit | 9949abfaf792fd860cb6d73775b53b655ca5417b (patch) | |
tree | 8ab28357b51792e1639e24998c6a2e43ed426f9b /gr-utils/src | |
parent | c134910514da25ea27142022c90fe384395668e4 (diff) | |
download | gnuradio-9949abfaf792fd860cb6d73775b53b655ca5417b.tar.gz gnuradio-9949abfaf792fd860cb6d73775b53b655ca5417b.tar.bz2 gnuradio-9949abfaf792fd860cb6d73775b53b655ca5417b.zip |
Change usrp.selected_subdev() to return a weak reference to the
daughterboard object. This fixes the 'weakref exception' error on
shutdown that is sometimes seen. What was happening is that user
code would hold a daughterboard reference, the USRP object would go
out of scope, and then when the daughterboard finally went out of scope,
it's destructor would try to invoke methods on (the now non-existent)
USRP.
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@7442 221aa14e-8319-0410-a670-987f0aec2ac5
Diffstat (limited to 'gr-utils/src')
0 files changed, 0 insertions, 0 deletions