diff --git a/CHANGELOG.md b/CHANGELOG.md index 6f5c2db9..ea54081e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,12 @@ ___ +## v0.2.5 + +修复了堆积如山的bug + +___ + ## v0.2.4 又一周过去了 diff --git a/CMakeLists.txt b/CMakeLists.txt index 17d9cef1..3816bcd9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.16) -project(FreeKill VERSION 0.2.4) +project(FreeKill VERSION 0.2.5) add_definitions(-DFK_VERSION=\"${CMAKE_PROJECT_VERSION}\") find_package(Qt6 REQUIRED COMPONENTS diff --git a/android/AndroidManifest.xml b/android/AndroidManifest.xml index bf5ef0ec..d57380b0 100644 --- a/android/AndroidManifest.xml +++ b/android/AndroidManifest.xml @@ -3,8 +3,8 @@ + android:versionCode="205" + android:versionName="0.2.5"> diff --git a/src/server/room.cpp b/src/server/room.cpp index ec6eafc1..f6eac0ca 100644 --- a/src/server/room.cpp +++ b/src/server/room.cpp @@ -542,5 +542,7 @@ void Room::manuallyStart() { } void Room::pushRequest(const QString &req) { - m_thread->pushRequest(QString("%1,%2").arg(QString::number(id), req)); + if (m_thread) { + m_thread->pushRequest(QString("%1,%2").arg(QString::number(id), req)); + } } diff --git a/src/server/server.cpp b/src/server/server.cpp index 933f304d..cc32e56b 100644 --- a/src/server/server.cpp +++ b/src/server/server.cpp @@ -108,6 +108,7 @@ void Server::createRoom(ServerPlayer *owner, const QString &name, int capacity, foreach (auto t, threads) { if (!t->isFull()) { thread = t; + break; } } if (!thread && nextRoomId != 0) {