CobbleSword / NachoSpigot

NachoSpigot is a fork of TacoSpigot 1.8.9 that offers several enhancements to performance as well as bug fixes.
GNU General Public License v3.0
237 stars 86 forks source link

Clear player lag compensator cache on disconnect #354

Closed jandrokt closed 2 years ago

jandrokt commented 2 years ago

Description

Fixes an issue where a player's lag compensator cache would not be cleared after they disconnected.

How has this been tested?

I haven't tested it but it's simple enough.

Checklist:

Sculas commented 2 years ago

Oh, I didn't notice that myself. That's a pretty bad memory leak I think. Anyway, thank you for this PR! :)