lithium0003 / ccViewer

CryptCloudViewer source codes
https://itunes.apple.com/us/app/cryptcloudviewer/id1458528598?mt=8
MIT License
100 stars 17 forks source link

Crashes when the cache limit is reached #25

Closed RickyBubbles closed 4 years ago

RickyBubbles commented 4 years ago

App seems to crash when the cache limit is reached (e.g. if I open two files, the first one fits wholly in the cache, the second file will exceed the cache size, and the app will crash). Opening the app after crashing usually shows that "Cache Size" has come to exceed "Cache Limit"

...also, is there a "purge cache" option? I've just been setting the limit to zero and restarting the app to accomplish this, but I'm not sure that it actually purges the files.

lithium0003 commented 4 years ago

Thanks for reporting bug. I'll check it and fix next release.