* commit 'd9597642ebbe4601568ad73ff20281c237e606fa': Close input session when the view is detached from the window.