forked from I2P_Developers/i2p.i2p
forgot to set context
This commit is contained in:
@@ -406,6 +406,7 @@ class UDPPacket implements CDQEntry {
|
|||||||
public static UDPPacket acquire(RouterContext ctx, boolean inbound) {
|
public static UDPPacket acquire(RouterContext ctx, boolean inbound) {
|
||||||
UDPPacket rv = null;
|
UDPPacket rv = null;
|
||||||
if (CACHE) {
|
if (CACHE) {
|
||||||
|
PacketFactory.context = ctx;
|
||||||
rv = _packetCache.tryAcquire();
|
rv = _packetCache.tryAcquire();
|
||||||
rv.init(ctx);
|
rv.init(ctx);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user