PhilippvK / playforia-minigolf

Client & Server for Minigolf Game known from Playforia/Playray/Appeli. Written in Java.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fix Race Conditions in PacketHandler

PhilippvK opened this issue · comments

If Actions like "New Game", "Skip Track",... are triggered by different users at the same time, the Server sometimes crashes due to exceptions.

See #29

After some debugging I decided to add a synchronized section. I will have a look at the server logs for a few days to see if this improves the situation.