mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-03-16 03:53:01 -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;
|
cfg = *cp;
|
||||||
UnmapViewOfFile(cp);
|
UnmapViewOfFile(cp);
|
||||||
CloseHandle(filemap);
|
CloseHandle(filemap);
|
||||||
|
loaded_session = TRUE;
|
||||||
} else if (!do_config()) {
|
} else if (!do_config()) {
|
||||||
cleanup_exit(0);
|
cleanup_exit(0);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user