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

[emapp] fix a crash bug after effect compilation failure #96

Merged
merged 1 commit into from
Jan 5, 2022

Conversation

hkrn
Copy link
Owner

@hkrn hkrn commented Jan 5, 2022

Summary

This PR fixes a crash bug after the effect compilation failure.

Details

(see commit message)

Note

  • All commits must be signed to be merged
  • CI must be passed to be merged

The crash bug will be fired when loading the accessory/model with
post-effect and fail of compilation due to insufficient cleanup.

The commit ensures calling removeAccessory or removeModel method
as possible and cancelRenderOffscreenRenderTarget for the effect that
contains `OFFSCREENRENDERTARGET` semantic.
@hkrn hkrn merged commit 4292220 into main Jan 5, 2022
@hkrn hkrn deleted the 20220106-fix-crash-bug-after-effect-failure branch January 5, 2022 16:34
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.

1 participant