fixup! Convert spiderInfo cache to Coil DiskCache

This commit is contained in:
tarsin committed 2022-12-29 20:38:48 +08:00
1 parent a168c95d79
commit 420e760fb3
1 file changed
+2 -3
@@ -844,10 +844,9 @@ public final class SpiderQueen implements Runnable {
if (editor == null) return;
try (OutputStream os = new FileOutputStream(editor.getData().toFile())) {
spiderInfo.write(os);
} catch (IOException e) {
// Ignore
} finally {
editor.commit();
} catch (IOException e) {
editor.abort();
}
}