Skip to content

Commit

Permalink
+ fix #62
Browse files Browse the repository at this point in the history
  • Loading branch information
cnlimiter committed Feb 26, 2023
1 parent e13d573 commit aa13ee2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ org.gradle.jvmargs=-Xmx1G
minecraft_version=1.19.3
loader_version=0.14.13
# Mod Properties
version_prefix=1.19.X
version_prefix=1.19.3
mod_version=2.1.3
sdk_version=0.2.1-jdk17
jankson_version=1.2.1
Expand Down
4 changes: 3 additions & 1 deletion src/main/java/cn/evolvefield/mods/botapi/BotApi.java
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,9 @@ private static void killOutThreads() {
ConfigHandler.watcher.get().close();//配置监控关闭
BotApi.configWatcherExecutorService.shutdownNow();//监控进程关闭
service.setReconnect(false);//关闭重连
service.close();//ws客户端关闭
service.close(1006);//ws客户端关闭


} catch (Exception e) {
e.printStackTrace();
}
Expand Down

0 comments on commit aa13ee2

Please sign in to comment.