-
Notifications
You must be signed in to change notification settings - Fork 111
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Limit the maximum number of frames for an app (#366)
Apps can return an arbitrarily huge number of frames in their render tree. When painting, we keep all frames in memory to assemble an animated WebP or GIF, so this can get out of control. Instead, set a default maximum of 2000 frames per app. Any frames past the 2000th frame will be discarded.
- Loading branch information
1 parent
c8a8135
commit 6af9ca7
Showing
1 changed file
with
20 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters