Skip to content

Commit

Permalink
Merge pull request #7703 from AngelkPetkov/TIMOB-20355_2
Browse files Browse the repository at this point in the history
[TIMOB-20355] iOS: Resolve error log when closing app
  • Loading branch information
pec1985 committed Feb 10, 2016
2 parents c7f0a13 + 22050f6 commit 2b83e2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion iphone/Classes/TiUIiOSNavWindowProxy.m
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ -(void)closeWindow:(NSArray*)args
{
TiWindowProxy *window = [args objectAtIndex:0];
ENSURE_TYPE(window,TiWindowProxy);
if (window == rootWindow) {
if (window == rootWindow && ![[TiApp app] willTerminate]) {
DebugLog(@"[ERROR] Can not close root window of the navWindow. Close this window instead");
return;
}
Expand Down

0 comments on commit 2b83e2e

Please sign in to comment.