-
Notifications
You must be signed in to change notification settings - Fork 6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix bug in MCVR where dummySurface is released but surface isn't nulled
The fix for Issue: #8776 was to release and null-out dummySurface if it doesn't match the security level of the decoder. But it's possible that this.surface is already set to this.dummySurface, in which case we must also null out this.surface otherwise we will later try and re-use the old, released DummySurface instance. This logic already exists in MCVR#onReset, so I pulled it into a releaseDummySurface() helper function. Issue: #9476 #minor-release PiperOrigin-RevId: 399420476
- Loading branch information
1 parent
3e7b2d0
commit 679e375
Showing
2 changed files
with
14 additions
and
7 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
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