979d9997c9
Previously, there was a period of time where the user had put the last reference to a channel, but when calling to get a new channel would end up with the previously created channel and channel destruction would never execute. This causes a number of unexpected issues to pop up, as often the creation and destruction of a channel is a key event. Change-Id: Ie68135f6efdf45093a5a227f8c51cd11b971fcff Signed-off-by: Ben Walker <benjamin.walker@intel.com> Reviewed-on: https://review.gerrithub.io/407602 Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com> Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>