Skip to content

fix: check glProgram initialization before delete in onSurfaceDestroyed#81

Merged
peerless2012 merged 1 commit into
masterfrom
fix/glprogram-uninitialized-crash
Jun 4, 2026
Merged

fix: check glProgram initialization before delete in onSurfaceDestroyed#81
peerless2012 merged 1 commit into
masterfrom
fix/glprogram-uninitialized-crash

Conversation

@peerless2012
Copy link
Copy Markdown
Owner

Guard against UninitializedPropertyAccessException when onSurfaceDestroyed is called before onSurfaceCreated completes (e.g. EGL init failure or rapid view add/remove).

Fixes #75

Guard against UninitializedPropertyAccessException when
onSurfaceDestroyed is called before onSurfaceCreated completes
(e.g. EGL init failure or rapid view add/remove).

Fixes #75
@peerless2012 peerless2012 merged commit fd7db48 into master Jun 4, 2026
2 checks passed
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.

Possible race condition causing crash with UninitializedPropertyAccessException

1 participant