Skip to content

Commit f5fd303

Browse files
committed
fix
1 parent 3396e0c commit f5fd303

3 files changed

Lines changed: 5 additions & 4 deletions

File tree

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ mod_name=Channel
3030
# The license of the mod. Review your options at https://choosealicense.com/. All Rights Reserved is the default.
3131
mod_license=GNU GPL 3.0
3232
# The mod version. See https://semver.org/
33-
mod_version=26.1.2-10+alpha
33+
mod_version=26.1.2-11+alpha
3434
# The group ID for the mod. It is only important when publishing as an artifact to a Maven repository.
3535
# This should match the base package used for the mod sources.
3636
# See https://maven.apache.org/guides/mini/guide-naming-conventions.html

src/main/java/cn/ussshenzhou/channel/subspace/client/SubspaceConnection.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -239,10 +239,12 @@ public static void terminate() {
239239
channel.close();
240240
channel = null;
241241
}
242-
EVENT_LOOP_GROUP.shutdownGracefully();
242+
if (reconnectFuture != null) {
243+
reconnectFuture.cancel(false);
244+
reconnectFuture = null;
245+
}
243246
protocol = null;
244247
securityLevel = null;
245-
reconnectFuture = null;
246248
MicrophoneHud.resumeStatus();
247249
}
248250

src/main/java/cn/ussshenzhou/channel/subspace/server/SubspaceConnection.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,6 @@ public static void shutdown() {
115115
if (channel != null) {
116116
channel.close();
117117
}
118-
EVENT_LOOP_GROUP.shutdownGracefully();
119118
}
120119

121120
public static void newPlayer(Player player) {

0 commit comments

Comments
 (0)