From 3860b8e666347af2958abbdbd35d888fa94d1c07 Mon Sep 17 00:00:00 2001 From: ilotterytea Date: Sat, 18 May 2024 00:11:47 +0500 Subject: FIX: FINALLY SOLVED THE THREAD PROBLEM!!! YIPEE --- src/stream.cpp | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/stream.cpp') diff --git a/src/stream.cpp b/src/stream.cpp index c886446..6e48fb8 100644 --- a/src/stream.cpp +++ b/src/stream.cpp @@ -34,10 +34,6 @@ namespace bot::stream { this->online_ids.erase(y); } } - void StreamListenerClient::run_thread() { - std::thread t(&bot::stream::StreamListenerClient::run, this); - t.join(); - } void StreamListenerClient::run() { while (true) { this->update_channel_ids(); -- cgit v1.2.3