DanielMartinus / Konfetti

Celebrate more with this lightweight confetti particle system 🎊
ISC License
3.19k stars 301 forks source link

Out of memory when resuming a long-running emitter #288

Closed PaulKlauser closed 2 years ago

PaulKlauser commented 2 years ago

Using KonfettiView (View-based, not Compose) and a long enough running emitter, if the app is paused for a significant amount of time, then resumed, the view will attempt to create enough confetti to cover the interval between paused and resumed, resulting in a crash.

Steps to reproduce: