Fix: lttng-relayd: forcefully close stream on relayd shutdown
[lttng-tools.git] / src / bin / lttng-relayd / main.c
index c61180f13e3ed695b876fd5932bc3ca242e164cc..2714f783bcc97768063ff3f01605f1c9dc55688f 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.023857 seconds and 4 git commands to generate.