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

fix(android): set default exitOnClose property to true #14150

Merged
merged 1 commit into from
Dec 4, 2024

Conversation

m1ga
Copy link
Contributor

@m1ga m1ga commented Dec 4, 2024

fixes #13791

var win1 = Ti.UI.createWindow({
	backgroundColor: "green"
})
win1.addEventListener("click", function() {
	var win2 = Ti.UI.createWindow({
		backgroundColor: "red"
	})
	win2.open();
})
win1.open();

Steps to reproduce

  • open the app (green window)
  • click to open the second window (red)
  • close the red window and close the green window right away
  • you will see the root activity

more infos in the ticket

@hansemannn hansemannn merged commit b830c4d into master Dec 4, 2024
4 of 5 checks passed
@hansemannn hansemannn deleted the androidCloseWindow branch December 4, 2024 11:48
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.

Android: closing two windows quickly won't close app
2 participants