Skip to content

Reset frame time when Composable's lifecycle is resumed#342

Open
PaulKlauser wants to merge 1 commit into
DanielMartinus:mainfrom
PaulKlauser:bugfix/reset-frame-time-on-resume
Open

Reset frame time when Composable's lifecycle is resumed#342
PaulKlauser wants to merge 1 commit into
DanielMartinus:mainfrom
PaulKlauser:bugfix/reset-frame-time-on-resume

Conversation

@PaulKlauser

Copy link
Copy Markdown
Contributor

This prevents the delta from the previous frame time til now being so large that we render an inordinate amount of particles, slowing down or even crashing the app by running out of memory. A very similar issue as fixed in: #289

This prevents the delta from the previous frame time til now being so large that we render an inordinate amount of particles, slowing down or even crashing the app by running out of memory. A very similar issue as fixed in: DanielMartinus#289
@PaulKlauser

Copy link
Copy Markdown
Contributor Author

Resolves the same issue #341, but I think targets the issue better by solving for the erroneous frame time calculation in the Composable.

@PaulKlauser

Copy link
Copy Markdown
Contributor Author

Build is blocked on #343

@mekutluca

Copy link
Copy Markdown

This is much better solution, thanks.

@DanielMartinus

Copy link
Copy Markdown
Owner

Thanks for looking into this, and apologies for my inactivity. Appreciate the PRs addressing some of the issues 🙏
Let me run a test, just to be sure. I happily merge it then and release a new version containing the fix

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants