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

This commit is contained in:
Kentucky Compass committed 2017-12-31 17:57:39 -08:00
1 parent c563166f9a
commit 4a119beb59
1 file changed
+1 -1
+1 -1
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 ()