Skip to content

Commit

Permalink
Fix memory leak by removing packet out
Browse files Browse the repository at this point in the history
  • Loading branch information
mDiyo committed Jun 1, 2014
1 parent c27f193 commit 54dda43
Showing 1 changed file with 1 addition and 3 deletions.
Expand Up @@ -123,8 +123,6 @@ protected void decode (ChannelHandlerContext ctx, FMLProxyPacket msg, List<Objec

default:
}

out.add(pkt);
}

// Method to call from FMLInitializationEvent
Expand Down Expand Up @@ -263,4 +261,4 @@ public void sendToServer (AbstractPacket message)
this.channels.get(Side.CLIENT).attr(FMLOutboundHandler.FML_MESSAGETARGET).set(FMLOutboundHandler.OutboundTarget.TOSERVER);
this.channels.get(Side.CLIENT).writeAndFlush(message);
}
}
}

0 comments on commit 54dda43

Please sign in to comment.