fix not removing lock if cache did not exist

This commit is contained in:
Ihor Andrianov 2025-03-24 15:09:18 +02:00
parent d8e070a360
commit 59f00ff0c3
No known key found for this signature in database

View file

@ -154,6 +154,7 @@ impl JsonCacheCell {
unsafe {
let cache_ptr = self.inner.get();
if (*cache_ptr).is_none() {
self.accessed.set(false);
return;
}