Skip to content

Commit f875fc6

Browse files
authored
Add missing stackRestore (#14435)
This looks like it leaks stack space under certain conditions.
1 parent 4d9e6a5 commit f875fc6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/library_exceptions.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -424,6 +424,7 @@ var LibraryExceptions = {
424424
#if EXCEPTION_DEBUG
425425
out(" can_catch found " + [adjusted, caughtType]);
426426
#endif
427+
stackRestore(stackTop);
427428
{{{ makeStructuralReturn(['catchInfo.ptr', 'caughtType']) }}};
428429
}
429430
}

0 commit comments

Comments
 (0)