1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-06-30 19:12:48 -05:00

The direct link between the terminal and the back end via

term_provide_resize_fn() was not being broken when the back end was
destroyed on session termination, causing resizing an inactive PuTTY
to be a segfault hazard.

[originally from svn r7143]
This commit is contained in:
Simon Tatham
2007-01-24 13:53:28 +00:00
parent 80ee991c82
commit 7a4ef1491e
3 changed files with 3 additions and 1 deletions

View File

@ -299,6 +299,7 @@ static void close_session(void)
back->free(backhandle);
backhandle = NULL;
back = NULL;
term_provide_resize_fn(term, NULL, NULL);
update_specials_menu(NULL);
}