summaryrefslogtreecommitdiffstats
path: root/DOCS
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2017-12-08 15:14:26 -0500
committerJan Ekström <jeebjp@gmail.com>2017-12-09 21:37:44 +0200
commitf60bfd1ad5e61b41df5162770c8684cf993dfdad (patch)
tree45514fd061cb1b0ff697715ca7c8137cac46df77 /DOCS
parenta0fc195112d6455403e2fcee9c31119a1f3e6d9a (diff)
downloadmpv-f60bfd1ad5e61b41df5162770c8684cf993dfdad.tar.bz2
mpv-f60bfd1ad5e61b41df5162770c8684cf993dfdad.tar.xz
terminal-unix: fix race condition with tty reset
Calling do_deactivate_getch2 before joining the terminal thread could lead to breakage if the terminal thread got another interation in before it was signaled to stop. This also addresses a minor error with the order in which things are initialized - getch2_poll would previously call tcgetpgrp(tty_in) before tty_in was initialized, which did not lead to broken behavior, but was not correct either. Fixes #5195
Diffstat (limited to 'DOCS')
0 files changed, 0 insertions, 0 deletions