diff --git a/server/src/Group.h b/server/src/Group.h index 54f5da2..eab8861 100644 --- a/server/src/Group.h +++ b/server/src/Group.h @@ -225,7 +225,7 @@ namespace ts { sql::SqlManager* sql; - std::lock_guard group_lock{}; + std::mutex group_lock{}; std::vector> groups; threads::Mutex cacheLock;