You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, thanks for this nice effect-library! I use ConfettiView which works perfectly. Unfortunately, this is not the case with FireWorksView, which causes memory problems. When I run FireWorksView it doesn't release all the memory, and running it again makes the problem even more apparent. Then it consumes memory continuously and builds more and more memory until the app crashes. I am running SwiftUI and latest release of iOS and Xcode.
The text was updated successfully, but these errors were encountered:
Looks like the issue is that fireworks explosions are continually added to the scene and never removed. A quick fix is in FireworksScene.swift, at the end of func explosion(at point: CGPoint), to add:
Hi, thanks for this nice effect-library! I use ConfettiView which works perfectly. Unfortunately, this is not the case with FireWorksView, which causes memory problems. When I run FireWorksView it doesn't release all the memory, and running it again makes the problem even more apparent. Then it consumes memory continuously and builds more and more memory until the app crashes. I am running SwiftUI and latest release of iOS and Xcode.
The text was updated successfully, but these errors were encountered: