mirror of
https://github.com/AsamK/signal-cli
synced 2025-08-29 18:40:39 +00: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:
parent
a3776c88bd
commit
c55ee85c5c
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue