jkomoros / boardgame

An in-progress framework in golang to easily build boardgame Progressive Web Apps
Apache License 2.0
31 stars 4 forks source link

Games are never garbage collected #757

Open jkomoros opened 4 years ago

jkomoros commented 4 years ago

When a ModifiableGame is created, it creates a workLoop, which is never closed. That means that over time a single instance of a server will monotonically accumulate active games in memory and at some point OOM