Skip to content

Commit

Permalink
iOS: fix a reference counting bug that may have caused ViewController…
Browse files Browse the repository at this point in the history
… to never be deallocated
  • Loading branch information
KentuckyCompass committed Jan 1, 2018
1 parent c563166 commit 4a119be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ios/ViewController.mm
Expand Up @@ -66,7 +66,7 @@
extern bool iosCanUseJit;
extern bool targetIsJailbroken;

ViewController* sharedViewController;
__unsafe_unretained static ViewController* sharedViewController;
static GraphicsContext *graphicsContext;

@interface ViewController ()
Expand Down

0 comments on commit 4a119be

Please sign in to comment.