mirror of
https://github.com/dmulloy2/ProtocolLib.git
synced 2024-11-28 05:35:28 +01:00
Cleanup the write-packet method interceptor.
This commit is contained in:
parent
35d5912275
commit
fefad5d806
@ -1044,6 +1044,9 @@ public final class PacketFilterManager implements ProtocolManager, ListenerInvok
|
|||||||
recievedListeners = null;
|
recievedListeners = null;
|
||||||
sendingListeners = null;
|
sendingListeners = null;
|
||||||
|
|
||||||
|
// Also cleanup the interceptor for the write packet method
|
||||||
|
interceptWritePacket.cleanup();
|
||||||
|
|
||||||
// Clean up async handlers. We have to do this last.
|
// Clean up async handlers. We have to do this last.
|
||||||
asyncFilterManager.cleanupAll();
|
asyncFilterManager.cleanupAll();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user