From 9b7ba5875cea75ac9c84322792e15c48ef7f5c61 Mon Sep 17 00:00:00 2001 From: Green Sky Date: Fri, 20 Sep 2024 10:38:51 +0200 Subject: [PATCH] stream manger ui connections disconnect works --- src/stream_manager.hpp | 2 +- src/stream_manager_ui.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/stream_manager.hpp b/src/stream_manager.hpp index 8310517..0dc1353 100644 --- a/src/stream_manager.hpp +++ b/src/stream_manager.hpp @@ -36,7 +36,7 @@ namespace Components { class StreamManager { - friend class StreamManagerUI; + friend class StreamManagerUI; // TODO: make this go away ObjectStore2& _os; struct Connection { diff --git a/src/stream_manager_ui.cpp b/src/stream_manager_ui.cpp index 69c5eb7..c674de5 100644 --- a/src/stream_manager_ui.cpp +++ b/src/stream_manager_ui.cpp @@ -168,7 +168,7 @@ void StreamManagerUI::render(void) { ImGui::TableNextColumn(); if (ImGui::SmallButton("X")) { - // TODO: disconnect + con->stop = true; } ImGui::TableNextColumn();