mirror of
https://github.com/ClassiCube/ClassiCube.git
synced 2025-09-13 09:35:23 -04:00
Android: Fix after sometimes window was destroyed that the game would become permanently stuck and eventually show as not responding
This commit is contained in:
parent
4515316c90
commit
c21b7a93f3
@ -387,7 +387,8 @@ public class MainActivity extends Activity {
|
|||||||
// --------------- VIEWS ----------------
|
// --------------- VIEWS ----------------
|
||||||
// ======================================
|
// ======================================
|
||||||
volatile boolean fullscreen;
|
volatile boolean fullscreen;
|
||||||
final Semaphore winDestroyedSem = new Semaphore(0, true);
|
// static to persist across activity destroy/create
|
||||||
|
static final Semaphore winDestroyedSem = new Semaphore(0, true);
|
||||||
SurfaceHolder.Callback callback;
|
SurfaceHolder.Callback callback;
|
||||||
CCView curView;
|
CCView curView;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user