disable the iOS thread before shutting down

This commit is contained in:
Kentucky Compass 2018-01-22 00:25:34 -08:00 committed by Henrik Rydgård
parent 0943cf3fcc
commit 49c5880fcc

View File

@ -219,6 +219,7 @@ static GraphicsContext *graphicsContext;
self.gameController = nil;
}
#endif
threadEnabled = false;
graphicsContext->ThreadEnd();
NativeShutdownGraphics();
graphicsContext->Shutdown();