From fefad5d806e15eab3bbb3e6374687678a4e618da Mon Sep 17 00:00:00 2001 From: "Kristian S. Stangeland" Date: Wed, 17 Jul 2013 19:40:48 +0200 Subject: [PATCH] Cleanup the write-packet method interceptor. --- .../com/comphenix/protocol/injector/PacketFilterManager.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ProtocolLib/src/main/java/com/comphenix/protocol/injector/PacketFilterManager.java b/ProtocolLib/src/main/java/com/comphenix/protocol/injector/PacketFilterManager.java index 9765fc45..68a60655 100644 --- a/ProtocolLib/src/main/java/com/comphenix/protocol/injector/PacketFilterManager.java +++ b/ProtocolLib/src/main/java/com/comphenix/protocol/injector/PacketFilterManager.java @@ -1044,6 +1044,9 @@ public final class PacketFilterManager implements ProtocolManager, ListenerInvok recievedListeners = null; sendingListeners = null; + // Also cleanup the interceptor for the write packet method + interceptWritePacket.cleanup(); + // Clean up async handlers. We have to do this last. asyncFilterManager.cleanupAll(); }