forked from I2P_Developers/i2p.i2p
clear context reference when clearing cache
This commit is contained in:
@@ -447,8 +447,10 @@ class UDPPacket implements CDQEntry {
|
||||
* @since 0.9.2
|
||||
*/
|
||||
public static void clearCache() {
|
||||
if (CACHE)
|
||||
if (CACHE) {
|
||||
PacketFactory.context = null;
|
||||
_packetCache.clear();
|
||||
}
|
||||
}
|
||||
|
||||
private synchronized void verifyNotReleased() {
|
||||
|
||||
Reference in New Issue
Block a user