geode-sdk / android-launcher

Launches an unmodified Geometry Dash with modifications
Boost Software License 1.0
48 stars 20 forks source link

Hopefully fix crashes when tabbing out and back in #11

Closed Fleeym closed 10 months ago

Fleeym commented 10 months ago

So far this seems to be stable on my phone. The fix was moving GLSurfaceView.onPause() to the GD activity onPause, instead of onStop. It seems that in onStop, the OpenGL context is already gone, so calling GLSurfaceView.onPause there will trigger an error, leading to either crashes or funny behaviour.