timob-14916: checking the window status when closing the window
Merge pull request #4587 from pingwang2011/timob-14916

timob-14916: Android: Endless "Window is closed normally" appear in the logcat.