From: simon Date: Thu, 21 Sep 2006 11:48:32 +0000 (+0000) Subject: Fix breakage of `Restart Session' in r6802. When restarting the X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/commitdiff_plain/8eec6d969331ec377e2cf472013cbb51a9b99dda Fix breakage of `Restart Session' in r6802. When restarting the session, we were clearing the new session_closed flag, but failing to clear must_close_session; with that set, the session was being opened but immediately re-closed. git-svn-id: svn://svn.tartarus.org/sgt/putty@6857 cda61777-01e9-0310-a592-d414129be87e --- diff --git a/windows/window.c b/windows/window.c index d58111fd..963b5ba7 100644 --- a/windows/window.c +++ b/windows/window.c @@ -272,6 +272,7 @@ static void start_backend(void) DeleteMenu(popup_menus[i].menu, IDM_RESTART, MF_BYCOMMAND); } + must_close_session = FALSE; session_closed = FALSE; }