mirror of
https://github.com/urbit/shrub.git
synced 2025-01-04 10:32:34 +03:00
vere: check for null before closing terminal pipe
This commit is contained in:
parent
db54ac1084
commit
f3299796e6
@ -286,7 +286,9 @@ u3_term_log_exit(void)
|
||||
}
|
||||
}
|
||||
|
||||
uv_close((uv_handle_t*)&u3_Host.uty_u->pop_u, 0);
|
||||
if ( u3_Host.uty_u ) {
|
||||
uv_close((uv_handle_t*)&u3_Host.uty_u->pop_u, 0);
|
||||
}
|
||||
}
|
||||
|
||||
/* _term_tcsetattr(): tcsetattr w/retry on EINTR.
|
||||
|
Loading…
Reference in New Issue
Block a user