Skip to content

Conversation

@mschudt
Copy link

@mschudt mschudt commented Jan 13, 2026

✨ What kind of change does this PR introduce? (Bug fix, feature, docs update...)

Bug fix

⤵️ What is the current behavior?

Occasional PathNotFoundException when a cached file is deleted between FileInfo emission and
readAsBytes(), resulting in a non‑fatal crash.

🆕 What is the new behavior (if this is a feature change)?

On missing file, the stale cache entry is evicted and the load is retried once, avoiding the crash.

💥 Does this PR introduce a breaking change?

No.

🐛 Recommendations for testing

  • Load images normally (including with cache hits).
  • Simulate cache eviction during load and confirm the image retries once instead of crashing.

📝 Links to relevant issues/docs

Fixes #1027

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant