In the endpoint per communicator path, we keep shared CQs in the device to be used by all endpoints, so we don't want to release the CQ when we release an endpoint. This is fixing a bug that was causing the CQ to be released in ep_rail_release by mistake, that resulted in a segfault when the CQ was used again.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
In the endpoint per communicator path, we keep shared CQs in the device to be used by all endpoints, so we don't want to release the CQ when we release an endpoint. This is fixing a bug that was causing the CQ to be released in
ep_rail_release
by mistake, that resulted in a segfault when the CQ was used again.By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.