mirror of
https://github.com/GeyserMC/Geyser.git
synced 2024-08-14 23:57:35 +00:00
Close skin uploader on shutdown when using Floodgate
This commit is contained in:
parent
a24d2a957c
commit
13f8b54d77
2 changed files with 4 additions and 1 deletions
|
@ -440,6 +440,9 @@ public class GeyserConnector {
|
|||
if (timeSyncer != null) {
|
||||
timeSyncer.shutdown();
|
||||
}
|
||||
if (skinUploader != null) {
|
||||
skinUploader.close();
|
||||
}
|
||||
newsHandler.shutdown();
|
||||
players.clear();
|
||||
defaultAuthType = null;
|
||||
|
|
|
@ -229,7 +229,7 @@ public final class FloodgateSkinUploader {
|
|||
return this;
|
||||
}
|
||||
|
||||
public void stop() {
|
||||
public void close() {
|
||||
client.close();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue