fix: handle the unlock of the index in finally
@@ -6427,7 +6427,12 @@ public abstract class OAbstractPaginatedStorage extends OStorageAbstract
@Override
public final OStorageConfiguration getConfiguration() {
+ stateLock.readLock().lock();
+ try {
return configuration;
+ } finally {
+ stateLock.readLock().unlock();
+ }
}
@Override
