forked from sdr/gr-osmosdr
542a3dbb2b
A couple issues were present in bladerf_common::close, which caused entries in the _devs list (our "device cache") to not be removed. This would result in a stale device handle being used upon attempting to reopen the device. Two issues were associated with this bug: - The weak_ptr expired() conditional was incorrect; the logic was inverted. - The list item removal and iterator increment was done incorrectly and would result in a crash after the first item was fixed. |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
bladerf_common.cc | ||
bladerf_common.h | ||
bladerf_sink_c.cc | ||
bladerf_sink_c.h | ||
bladerf_source_c.cc | ||
bladerf_source_c.h |