mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-10-21 20:52:19 +00:00
Fix a resource warning
This commit is contained in:
parent
ce50043048
commit
5b3ac259ce
1 changed files with 2 additions and 1 deletions
|
|
@ -55,8 +55,9 @@ def main() -> None:
|
|||
write(line)
|
||||
except KeyboardInterrupt:
|
||||
p.send_signal(signal.SIGINT)
|
||||
p.stdout.close()
|
||||
except EOFError:
|
||||
pass
|
||||
finally:
|
||||
p.stdout.close()
|
||||
raise SystemExit(p.wait())
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue