Bugfix
This commit is contained in:
parent
f5cb2d8895
commit
116fc88311
@ -572,7 +572,7 @@ public class LLLocalKeyValueDatabase implements LLKeyValueDatabase {
|
||||
}
|
||||
snapshotsHandles.forEach((id, snapshot) -> {
|
||||
try {
|
||||
if (db.isOwningHandle() && snapshot.isOwningHandle()) {
|
||||
if (db.isOwningHandle()) {
|
||||
db.releaseSnapshot(snapshot);
|
||||
}
|
||||
} catch (Exception ex2) {
|
||||
@ -1058,9 +1058,6 @@ public class LLLocalKeyValueDatabase implements LLKeyValueDatabase {
|
||||
if (!db.isOwningHandle()) {
|
||||
return null;
|
||||
}
|
||||
if (!dbSnapshot.isOwningHandle()) {
|
||||
return null;
|
||||
}
|
||||
db.releaseSnapshot(dbSnapshot);
|
||||
return null;
|
||||
} finally {
|
||||
|
Loading…
Reference in New Issue
Block a user