mirror of
https://github.com/aljazceru/signal-cli.git
synced 2026-01-06 15:44:19 +01:00
Fixing RW connections deadlock on SQLite
Without this change we're getting a connection in the same thread we hold one already.
This commit is contained in:
committed by
Sebastian Scheibner
parent
a3776c88bd
commit
c55ee85c5c
@@ -78,7 +78,7 @@ public class KeyValueStore {
|
||||
final KeyValueEntry<T> key,
|
||||
final T value
|
||||
) throws SQLException {
|
||||
final var entry = getEntry(key);
|
||||
final var entry = getEntry(connection, key);
|
||||
if (Objects.equals(entry, value)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user