iOS: fix a reference counting bug that may have caused ViewController to never be deallocated

This commit is contained in:
Kentucky Compass 2017-12-30 21:57:29 -08:00
parent c563166f9a
commit 4a119beb59

View File

@ -66,7 +66,7 @@ extern ScreenManager *screenManager;
extern bool iosCanUseJit;
extern bool targetIsJailbroken;
ViewController* sharedViewController;
__unsafe_unretained static ViewController* sharedViewController;
static GraphicsContext *graphicsContext;
@interface ViewController ()