mirror of
https://github.com/GeyserMC/Geyser.git
synced 2025-12-23 16:59:33 +00:00
Close skin uploader on shutdown when using Floodgate
This commit is contained in:
@@ -440,6 +440,9 @@ public class GeyserConnector {
|
|||||||
if (timeSyncer != null) {
|
if (timeSyncer != null) {
|
||||||
timeSyncer.shutdown();
|
timeSyncer.shutdown();
|
||||||
}
|
}
|
||||||
|
if (skinUploader != null) {
|
||||||
|
skinUploader.close();
|
||||||
|
}
|
||||||
newsHandler.shutdown();
|
newsHandler.shutdown();
|
||||||
players.clear();
|
players.clear();
|
||||||
defaultAuthType = null;
|
defaultAuthType = null;
|
||||||
|
|||||||
@@ -229,7 +229,7 @@ public final class FloodgateSkinUploader {
|
|||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void stop() {
|
public void close() {
|
||||||
client.close();
|
client.close();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user