Skip to content

Commit

Permalink
fix: restore auto-release-pool
Browse files Browse the repository at this point in the history
  • Loading branch information
hansemannn committed Sep 28, 2018
1 parent c1c420b commit d1cb01c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions support/iphone/main.m
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ int main(int argc, char *argv[])
[[TiSharedConfig defaultConfig] setApplicationResourcesDirectory:TI_APPLICATION_RESOURCE_DIR];
[[TiLogServer defaultLogServer] setPort:TI_LOG_SERVER_PORT];

NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init];
int retVal = UIApplicationMain(argc, argv, @"TiUIApplication", @"TiApp");
[pool release];
return retVal;
Expand Down

0 comments on commit d1cb01c

Please sign in to comment.