From 8afe643e42ce776153658cba1fc49858bbbd7a13 Mon Sep 17 00:00:00 2001 From: My-Name-Is-Jeff <37018278+My-Name-Is-Jeff@users.noreply.github.com> Date: Sat, 18 May 2024 18:08:53 -0400 Subject: [PATCH] fix: rebase error didn't close SkytilsWS connection --- src/main/kotlin/gg/skytils/skytilsmod/Skytils.kt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main/kotlin/gg/skytils/skytilsmod/Skytils.kt b/src/main/kotlin/gg/skytils/skytilsmod/Skytils.kt index 3fd06aeaa..075f86fa0 100644 --- a/src/main/kotlin/gg/skytils/skytilsmod/Skytils.kt +++ b/src/main/kotlin/gg/skytils/skytilsmod/Skytils.kt @@ -613,6 +613,10 @@ class Skytils { Utils.isOnHypixel = false Utils.skyblock = false Utils.dungeons = false + + IO.launch { + WSClient.closeConnection() + } } @SubscribeEvent