* Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
-#define _GNU_SOURCE
#define _LGPL_SOURCE
#include <assert.h>
cds_list_for_each_entry_rcu(stream, &trace->stream_list,
stream_node) {
/*
- * Close the stream.
+ * Close stream since the connection owning the trace is being
+ * torn down.
*/
- stream_close(stream);
+ try_stream_close(stream);
}
rcu_read_unlock();
/*