mirror of
https://github.com/greatscottgadgets/hackrf.git
synced 2026-03-03 05:55:18 +01:00
fixes #435, osmosdr calls hackrf_exit for the last sink and the last source. If both are in one flow graph the desctructor of the source fails as the sink already closed the usb context. This prevents hackrf_exit to close the context if not all devices are closed