refactor: 필요없는 코드 제거

This commit is contained in:
bumpsoo 2026-02-05 13:45:13 +00:00
parent 9f5fe4ede7
commit 1a7a4b7466
2 changed files with 0 additions and 8 deletions

View file

@ -6,13 +6,6 @@ SessionManager &SessionManager::GetInstance() {
return instance;
}
void SessionManager::Join(std::shared_ptr<Session> session) {
std::lock_guard<std::mutex> lock(mutex_);
sessions_.insert(session);
Logger::Log("클라이언트[", session->GetNickname(),
"]가 입장했습니다. 총 세션 수: ", sessions_.size());
}
void SessionManager::Leave(std::shared_ptr<Session> session) {
std::lock_guard<std::mutex> lock(mutex_);
if (sessions_.erase(session) > 0) {