Add check for internal users around group lock ordering.

This commit is contained in:
Greyson Parrelli
2023-06-23 12:29:22 -04:00
committed by Nicholas
parent 9d979217fa
commit b042945fef
3 changed files with 20 additions and 3 deletions

View File

@@ -18,4 +18,8 @@ public enum ReentrantSessionLock implements SignalSessionLock {
LOCK.lock();
return LOCK::unlock;
}
public boolean isHeldByCurrentThread() {
return LOCK.isHeldByCurrentThread();
}
}