High performance Spigot fork that aims to fix gameplay and mechanics inconsistencies
Go to file
CraftBukkit/Spigot 05f3042755 Fix race condition that could kill connections before they were initiated
Because NetworkManagers are registered before they get their channel in
channelActive, the ServerConnection would remove them sometimes because
it thought they were disconnected. This commit fixes this by introducing
a 'preparing' variable that is true while the NetworkManager is not
initialized. The ServerConnection does not remove NetworkManagers with
this flag.

By: Jonas Konrad <me@yawk.at>
2014-04-25 23:46:46 +02:00
paper-server Fix race condition that could kill connections before they were initiated 2014-04-25 23:46:46 +02:00