Set the 'must_close_session' flag at the end of close_session(), so
authorsimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Wed, 2 Mar 2011 18:52:03 +0000 (18:52 +0000)
committersimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Wed, 2 Mar 2011 18:52:03 +0000 (18:52 +0000)
commit4f1aa9a9cacee7dffea752607b5ad6c254f3e28b
treeb1ff8a355ad51717c591bcdd6e2284905184bb90
parent7628982b9127d1e71e4c0536eb9f4aef3d02c42e
Set the 'must_close_session' flag at the end of close_session(), so
that we won't keep calling close_session() again the next time we go
round the message loop. Should fix unclean-close-hang. Thanks to Simon
Coleman for debugging.

git-svn-id: svn://svn.tartarus.org/sgt/putty@9115 cda61777-01e9-0310-a592-d414129be87e
windows/window.c