mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-07-03 04:04:19 +00:00
Fixed Exception handling in cache clearing thread
This commit is contained in:
@@ -6,6 +6,7 @@ All notable changes to this project will be documented in this file.
|
||||
- [#1948] Timeout while deobfuscation did not skip method
|
||||
- [#1948] NullPointerException on Simplify expressions on incrementent/decrement
|
||||
- [#1941] Export when no node is selected after SWF opening
|
||||
- Exception handling in cache clearing thread
|
||||
|
||||
## [18.3.3] - 2023-01-22
|
||||
### Added
|
||||
|
||||
@@ -22,12 +22,15 @@ import java.io.File;
|
||||
import java.io.IOException;
|
||||
import java.lang.ref.WeakReference;
|
||||
import java.util.ArrayList;
|
||||
import java.util.ConcurrentModificationException;
|
||||
import java.util.HashMap;
|
||||
import java.util.HashSet;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
import java.util.Set;
|
||||
import java.util.WeakHashMap;
|
||||
import java.util.logging.Level;
|
||||
import java.util.logging.Logger;
|
||||
|
||||
/**
|
||||
*
|
||||
@@ -86,7 +89,11 @@ public class Cache<K, V> implements Freed {
|
||||
} catch (InterruptedException ex) {
|
||||
return;
|
||||
}
|
||||
clearAllOld();
|
||||
try {
|
||||
clearAllOld();
|
||||
} catch (Exception cme) {
|
||||
Logger.getLogger(Cache.class.getSimpleName()).log(Level.SEVERE, "Error during clearing cache thread", cme);
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user