diff --git a/main.cpp b/main.cpp index bf22b93..af76953 100644 --- a/main.cpp +++ b/main.cpp @@ -500,6 +500,7 @@ private: // Get message const auto& msg = ccb.get(); // Add to embed list + std::scoped_lock L(thread_embeds_mutex); thread_embeds[thread_id] = msg; }); }