Leinnan / slavic_castles

Card game prototype written in Rust with Bevy
https://leinnan.github.io/slavic_castles/
MIT License
48 stars 6 forks source link

fix(button): memory leak by rendering the text every frame #3

Closed lenscas closed 4 years ago

lenscas commented 4 years ago

This seems to fixes the memory leak with button.rs. It isn't based on latest master because I got an "unreachable executed" error in the wasm build.

Leinnan commented 4 years ago

Thanks! I will digg more into my code to make rest of it more secure.