mirror of
https://github.com/mitb-archive/filebot
synced 2024-11-17 14:55:09 -05:00
* clear cache when started with option "-clear"
This commit is contained in:
parent
53971666ae
commit
f8f1d5b5b3
@ -50,8 +50,9 @@ public class Main {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (argumentBean.clear()) {
|
if (argumentBean.clear()) {
|
||||||
// clear preferences
|
// clear preferences and cache
|
||||||
Settings.forPackage(Main.class).clear();
|
Settings.forPackage(Main.class).clear();
|
||||||
|
CacheManager.getInstance().clearAll();
|
||||||
}
|
}
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
Loading…
Reference in New Issue
Block a user