Skip to content

Commit

Permalink
Merge pull request #5877 from pec1985/timob-16957
Browse files Browse the repository at this point in the history
[TIMOB-16957] Fixed popover window memory leak and focus/blur events
  • Loading branch information
vishalduggal committed Jul 2, 2014
2 parents 02541bf + 8e8c0a0 commit e19d3f5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions iphone/Classes/TiUIiPadPopoverProxy.m
Original file line number Diff line number Diff line change
Expand Up @@ -497,6 +497,9 @@ - (void)popoverControllerDidDismissPopover:(UIPopoverController *)thisPopoverCon
currentlyDisplaying = nil;
}
if (contentViewProxy != nil) {
if ([contentViewProxy isKindOfClass:[TiWindowProxy class]]) {
[(TiWindowProxy*) contentViewProxy setIsManaged:NO];
}
[contentViewProxy windowWillClose];
} else {
[self windowWillClose];
Expand Down

0 comments on commit e19d3f5

Please sign in to comment.