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

[Android] Fix Android JmeSurfaceView Memory Leak #2359

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

pavly-gerges
Copy link
Contributor

@pavly-gerges pavly-gerges commented Feb 2, 2025

This PR introduces a fix to:

The following are introduced into this PR:

  • On JmeSurfaceView: corrected the algorithm by which the SystemListener#destroy() concrete implementation is being dispatched by the Activity Lifecycle.
  • On JmeSurfaceView documentation: clarified the usage and the behavior of JmeSurfaceView.DestructionPolicy.
  • On OGLESContext: released the used weak references to the GlSurfaceView component that is being passed using the handler OGLESContext#createView(Context).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants