mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-31 07:11:09 -04: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;
|
return term;
|
||||||
|
|
||||||
err:
|
err:
|
||||||
|
term->is_shutting_down = true;
|
||||||
term_destroy(term);
|
term_destroy(term);
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue