🥳 New Kitten Release
• Implement garbage collection timeout for unconnected pages
Added a timeout to KittenPage instances so that if they do not connect within 10 seconds, they are garbage collected.

This is to avoid a memory leak in the scenario where a person rapidly refreshes a class-based (state maintaining) Kitten page. In such a scenario, the almost instant page lifecycle does not allow enough time for the page’s default WebSocket to connect and disconnect from the client. As we normally garbage collect pages when their default WebSocket disconnects, this leaves the page object in memory, creating a memory leak.
Enjoy!
💕