mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-21 01:40:16 -05:00
term: set 'is_shutting_down' before calling term_destroy() on error
This commit is contained in:
parent
af9e5aef2b
commit
9864d91975
1 changed files with 1 additions and 0 deletions
|
|
@ -936,6 +936,7 @@ term_init(const struct config *conf, struct fdm *fdm, struct wayland *wayl,
|
|||
return term;
|
||||
|
||||
err:
|
||||
term->is_shutting_down = true;
|
||||
term_destroy(term);
|
||||
return NULL;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue