1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-01-25 01:02:24 +00:00

Merge connection-sharing shutdown fix from pre-0.64.

This commit is contained in:
Simon Tatham 2014-11-10 18:32:12 +00:00
commit a918c97dc9

8
ssh.c
View File

@ -3293,6 +3293,14 @@ static int ssh_do_close(Ssh ssh, int notify_exit)
ssh->portfwds = NULL;
}
/*
* Also stop attempting to connection-share.
*/
if (ssh->connshare) {
sharestate_free(ssh->connshare);
ssh->connshare = NULL;
}
return ret;
}