mirror of
https://github.com/tursodatabase/limbo.git
synced 2025-08-04 10:08:20 +00:00
fix not removing lock if cache did not exist
This commit is contained in:
parent
d8e070a360
commit
59f00ff0c3
1 changed files with 1 additions and 0 deletions
|
@ -154,6 +154,7 @@ impl JsonCacheCell {
|
|||
unsafe {
|
||||
let cache_ptr = self.inner.get();
|
||||
if (*cache_ptr).is_none() {
|
||||
self.accessed.set(false);
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue