mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-10-24 14:12:02 +00:00
Fix #7504
This commit is contained in:
parent
6bd8c71e30
commit
f17a5934e2
1 changed files with 1 additions and 1 deletions
|
|
@ -188,7 +188,7 @@ func run_set_loop(opts *Options, args []string) (err error) {
|
|||
to_process := make([]*Input, len(args))
|
||||
defer func() {
|
||||
for _, i := range inputs {
|
||||
if i.src != nil {
|
||||
if i != nil && i.src != nil {
|
||||
rc, ok := i.src.(io.Closer)
|
||||
if ok {
|
||||
rc.Close()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue