mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-03-12 18:13:50 -05:00
Unbreak "Duplicate session" on Windows, in a similar way to r7291.
[originally from svn r7292] [r7291 == 062b5ab3e412435b9c452b371b51beeaa026608e]
This commit is contained in:
parent
062b5ab3e4
commit
8230ce9fa0
@ -413,6 +413,7 @@ int WINAPI WinMain(HINSTANCE inst, HINSTANCE prev, LPSTR cmdline, int show)
|
||||
cfg = *cp;
|
||||
UnmapViewOfFile(cp);
|
||||
CloseHandle(filemap);
|
||||
loaded_session = TRUE;
|
||||
} else if (!do_config()) {
|
||||
cleanup_exit(0);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user