-
Notifications
You must be signed in to change notification settings - Fork 239
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
Pizza Tower's scr_player_mach3 causes a memory leak. #1446
Comments
scr_player_mach3 is not a big switch statement. don't really know why this issue occurs but i don't even think there are switch statements in scr_player_mach3. |
It does contain about 680 lines of switch statement, but it has only three cases. There may be an issue with parsing something within the switch that affects the decompilation of the rest of the switch. |
Here's the stacktrace for reference, took about 21GB of allocation to even get it to output that.
|
Describe the bug
When you open Pizza Tower's
scr_player_mach3
script, a memory leak occurs.I believe this happens because
scr_player_mach3
is one big switch statement and the decompiler doesn't stop reading it when it ends, causing a memory leak.Reproducing steps
scr_player_mach3
Setup Details
The text was updated successfully, but these errors were encountered: