appcelerator/titanium_mobile — pull request #1212 by sptramer (2012-01-19 01:07:24+00:00)
Title: [TIMOB-4896] Handle close() race condition when open()ing a window in another context

Code contains a comment describing the problem, and the fix (and the caveat about rendering). Some additional code cleanup was performed.

The test is in jira, but a bit muddled. Use the *app.js* and *window_crash_subwindow.js* from the top of the ticket, but the *window_crash.js* from the _LAST_ comment by Matthew.