Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[TIMOB-20355] iOS: Resolve error log when closing app #7703

Merged
merged 2 commits into from Feb 10, 2016

Conversation

AngelkPetkov
Copy link
Contributor

JIRA
Cherry-Picked Hans commit and added willTerminate check. So debug error message still gets called if the window is force closed by anything else but the krollThread directly

hansemannn and others added 2 commits February 10, 2016 10:24
Cherry-Picked Hans commit and added willTerminate check. So debug error message still gets called if the window is force closed by anything else but the krollThread directly.
@AngelkPetkov AngelkPetkov changed the title [TIMOB-20355] Resolve error log when closing app [TIMOB-20355] iOS: Resolve error log when closing app Feb 10, 2016
@@ -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]) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Where is willTerminate defined?

@pec1985
Copy link
Contributor

pec1985 commented Feb 10, 2016

PR approved and merged!

pec1985 added a commit that referenced this pull request Feb 10, 2016
[TIMOB-20355] iOS: Resolve error log when closing app
@pec1985 pec1985 merged commit 2b83e2e into tidev:master Feb 10, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants