Fix breakage of `Restart Session' in r6802. When restarting the
[u/mdw/putty] / windows / window.c
index d58111f..963b5ba 100644 (file)
@@ -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;
 }