Prevent GV2 operations after becoming unregistered.

This commit is contained in:
Cody Henthorne
2021-10-04 13:01:04 -04:00
committed by Greyson Parrelli
parent 938b24f623
commit 309e33016a
2 changed files with 25 additions and 0 deletions

View File

@@ -57,6 +57,10 @@ public final class GroupsV2Authorization {
}
}
public void clear() {
cache.clear();
}
private static int currentTimeDays() {
return (int) TimeUnit.MILLISECONDS.toDays(System.currentTimeMillis());
}