add missing shutdown for uuidToProfileRateLimit

This commit is contained in:
Jason Penilla committed 2023-03-26 11:43:06 -07:00
1 parent c846d51ee9
commit 914d21d1fd
1 file changed
+1
@@ -184,6 +184,7 @@ public final class MojangProfileResolver implements ProfileResolver {
public void shutdown() {
ConcurrentUtil.shutdownExecutor(this.executorService, TimeUnit.MILLISECONDS, 500);
this.globalRateLimit.shutdown();
this.uuidToProfileRateLimit.shutdown();
}
private record BasicLookupResponse(UUID id, String name) {