1. Create a titanium app
2. Replace app.js with the attached file
3. Run the app on iOS sim
4. Click Open New Win to open the window
5. Click Click to Close to close the window, app does not crash
6. Do step 4, then click on the search bar
7. With the search bar focused, click Click to Close, the app crashes
On iOS, the window is closed, follow by app crashes.
The window should be closed without crashing the app.