mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-06-30 11:02: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:
@ -1205,6 +1205,7 @@ void notify_remote_exit(void *frontend)
|
||||
inst->back->free(inst->backhandle);
|
||||
inst->backhandle = NULL;
|
||||
inst->back = NULL;
|
||||
term_provide_resize_fn(inst->term, NULL, NULL);
|
||||
update_specials_menu(inst);
|
||||
}
|
||||
gtk_widget_show(inst->restartitem);
|
||||
|
Reference in New Issue
Block a user