I was adding and removing ndi audio sources in playing state and encountered that same source cannot be attached twice and plugin failed with "Source with NDI name '{:?}' / URL/address '{:?}' already in use for {}" error.
When debugging I figured that drop was never called for ReceiverInner and the reason for that was state.receiver was never released.
I was adding and removing ndi audio sources in playing state and encountered that same source cannot be attached twice and plugin failed with "Source with NDI name '{:?}' / URL/address '{:?}' already in use for {}" error.
When debugging I figured that
drop
was never called forReceiverInner
and the reason for that was state.receiver was never released.