struct-by-lightning/wpi-suite — pull request #378 by ajthompson (2014-04-30 23:44:22+00:00)
Title: Check if game changed - DO NOT MERGE - NEED HELP WITH BUG

I'm running into a really weird issue with some sort of memory leak type thing. At line 222 and 223 of MainView.java, I added a call to GetPlanningPokerGameController.getInstance().retrievePlanningPokerGames(). But now whenever I try to close a game, the client hangs, and the server console output is just retrieving the games endlessly. The call there is without a doubt causing the problem, as commenting it out fixes it, but it shouldn't do anything because it is not called by clicking the close game button, or by anything that the close game button calls.

I'm at a loss here, as without that call there, we can't actually check to see if the game has changed on the server. And it didn't always hang forever, it would just take longer than normal, but then eventually stop. It started to do this in the middle of trying to test stuff, with no changes to the code between when it was working and when it stopped. And deleting the database does nothing.