ProtocolLib

3M Downloads

Async PacketListener breaking NetworkMarker PostListener

Ingrim4 opened this issue ยท 2 comments

commented
  • This issue is not solved in a development build

Describe the bug
All registered PacketPostListeners aren't executed if the PacketType has an async PacketListener. If you only register the sync PacketListener in the provided example repo then the PacketPostListener works as intended but as soon as you register an async listener this won't work anymore. Same goes for a single async PacketListener with a sync listener.

To Reproduce
Steps to reproduce the behavior:

  1. clone https://github.com/Imprex-Development/protocol-networkmarker
  2. mvn clean package
  3. put plugin on server
  4. join server
  5. see memory slowly creeping up

Expected behavior
All registered post listeners should be executed.

Version Info
https://gist.github.com/Ingrim4/82d147a095fdd710afff33d4d9ff9f34

commented

Sorry copied wrong link, changed it in the issue description.

commented

We can't access the linked repository. Maybe it's private?