mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-12-29 08:36:01 +01:00
close the document before destroying the widgets
This commit is contained in:
parent
370aa11c4b
commit
de52bae4da
1 changed files with 2 additions and 2 deletions
|
@ -249,12 +249,12 @@ zathura_free(zathura_t* zathura)
|
|||
return;
|
||||
}
|
||||
|
||||
document_close(zathura);
|
||||
|
||||
if (zathura->ui.session != NULL) {
|
||||
girara_session_destroy(zathura->ui.session);
|
||||
}
|
||||
|
||||
document_close(zathura);
|
||||
|
||||
/* bookmarks */
|
||||
girara_list_free(zathura->bookmarks.bookmarks);
|
||||
|
||||
|
|
Loading…
Reference in a new issue