diff --git a/connector/src/main/java/org/geysermc/connector/GeyserConnector.java b/connector/src/main/java/org/geysermc/connector/GeyserConnector.java index ac77388ff1c..4de9768f792 100644 --- a/connector/src/main/java/org/geysermc/connector/GeyserConnector.java +++ b/connector/src/main/java/org/geysermc/connector/GeyserConnector.java @@ -440,6 +440,9 @@ public void run() { if (timeSyncer != null) { timeSyncer.shutdown(); } + if (skinUploader != null) { + skinUploader.close(); + } newsHandler.shutdown(); players.clear(); defaultAuthType = null; diff --git a/connector/src/main/java/org/geysermc/connector/skin/FloodgateSkinUploader.java b/connector/src/main/java/org/geysermc/connector/skin/FloodgateSkinUploader.java index beed78e05aa..1849d481237 100644 --- a/connector/src/main/java/org/geysermc/connector/skin/FloodgateSkinUploader.java +++ b/connector/src/main/java/org/geysermc/connector/skin/FloodgateSkinUploader.java @@ -229,7 +229,7 @@ public FloodgateSkinUploader start() { return this; } - public void stop() { + public void close() { client.close(); } }