Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clean up the lua stack after EvalStringWithReturn's function creation #4513

Merged
merged 1 commit into from Jul 28, 2022

Conversation

EatThePath
Copy link
Contributor

fixes #4504. Hopefully. I'll freely admit my understanding of this area of the engine is spotty, but debug monitoring of the stack allocation showed this to be a source of leaks and the crashing missions are stable now as far as I've tested. More testing of script-eval-num and script-eval-bool heavy missions may be warranted.

@EatThePath EatThePath requested a review from asarium as a code owner July 28, 2022 00:22
@Kiloku
Copy link
Contributor

Kiloku commented Jul 28, 2022

I checked out the PR and ran both the Battle of Neptune mission and the test mission Goober had provided in #4287, both of them ran without crashes

@Goober5000 Goober5000 merged commit 19ca467 into scp-fs2open:master Jul 28, 2022
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.

RC7 crashes across the board on BPC.
3 participants