]> asedeno.scripts.mit.edu Git - PuTTY.git/commit
Make sure we do notify_remote_exit(ssh->frontend) _before_
authorSimon Tatham <anakin@pobox.com>
Sat, 5 Mar 2005 17:56:28 +0000 (17:56 +0000)
committerSimon Tatham <anakin@pobox.com>
Sat, 5 Mar 2005 17:56:28 +0000 (17:56 +0000)
commitf76c35b4b7a22189613593b5e245f86d27108d91
treeedc604e2ab6d8ea6a5664d154eb9cd01a76efe46
parent7b22e5b2ab8b830408a99e5415a3cbb9a2781862
Make sure we do notify_remote_exit(ssh->frontend) _before_
connection_fatal(), since the latter is entitled to destroy the
backend so `ssh' may no longer be valid once it returns.

For the Unix port, switch exit(0) to gtk_main_quit() in
notify_remote_exit(), so that we don't exit before the subsequent
connection_fatal()!

[originally from svn r5445]
ssh.c
unix/gtkwin.c