Skip to content
This repository has been archived by the owner on Sep 29, 2021. It is now read-only.

Commit

Permalink
partial fix for leak in #84
Browse files Browse the repository at this point in the history
  • Loading branch information
thundr committed May 30, 2018
1 parent f35bc7b commit fe6c365
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/java/tonius/simplyjetpacks/handler/SyncHandler.java
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ public static void clearAll()
{
flyKeyState.clear();
forwardKeyState.clear();
descendKeyState.clear();
backwardKeyState.clear();
leftKeyState.clear();
rightKeyState.clear();
Expand All @@ -100,6 +101,7 @@ private static void removeFromAll(EntityPlayer player)
{
flyKeyState.remove(player);
forwardKeyState.remove(player);
descendKeyState.remove(player);
backwardKeyState.remove(player);
leftKeyState.remove(player);
rightKeyState.remove(player);
Expand Down

1 comment on commit fe6c365

@Keridos
Copy link

@Keridos Keridos commented on fe6c365 Oct 7, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

might this be related to #111?

Please sign in to comment.