Skip to content

Commit

Permalink
fixup! Optionally log useful information to debug console-related dea…
Browse files Browse the repository at this point in the history
…dlocks
  • Loading branch information
tyan0 authored and dscho committed Feb 17, 2024
1 parent d3571d9 commit e4d83d0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions winsup/cygwin/fhandler/pty.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1251,6 +1251,7 @@ fhandler_pty_slave::reset_switch_to_nat_pipe (void)
return;
}
/* Clean up nat pipe state */
LOGPTYSW ("pty%d reset to to_cyg\n", get_minor ());
get_ttyp ()->pty_input_state = tty::to_cyg;
get_ttyp ()->nat_pipe_owner_pid = 0;
get_ttyp ()->switch_to_nat_pipe = false;
Expand Down

0 comments on commit e4d83d0

Please sign in to comment.