Issue #26870: Close pty master in case of exception
1 file changed