Fix: lttng-relayd: forcefully close stream on relayd shutdown
[lttng-tools.git] / src / bin / lttng-relayd / main.c
index dc19a69c77a548df81fffc2aa7e44affd12279b4..7b313818e5c09a5719339740f47b2787304d461b 100644 (file)
@@ -2680,6 +2680,11 @@ error:
                        destroy_conn,
                        sock_n.node) {
                health_code_update();
+
+               if (session_abort(destroy_conn->session)) {
+                       assert(0);
+               }
+
                /*
                 * No need to grab another ref, because we own
                 * destroy_conn.
This page took 0.025393 seconds and 5 git commands to generate.