Project: titanium
Issue TIMOB-20600: Windows: close window throws unknown exception
It's affected 5.2.0. Use case (working on ios/android): Window_1 opens Window_2 -> Window_2 opens Window_3 -> Window_3 closes Window_2 -> App throws unknown exception. *index.js:* {code:javascript} function onClick(e) { var c = Alloy.createController('second', {	prevWin: $.win }); var w = c.getView(); w.open(); } $.win.open(); {code} *index.xml:* {noformat}	{noformat} ---- *second.js:* {code:javascript} var args = $.args; function onClick() {	var c = Alloy.createController('third', {	prevWin: $.win });	var w = c.getView();	w.open(); } {code} *second.xml:* {noformat}	{noformat} ---- *third.js:* {code:javascript} var args = $.args; function onClick() {	args.prevWin.close(); } {code} *third.xml:* {noformat}	{noformat}
Story points: 5