mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-07 23:53:58 +02:00
Fix crash with dangling DocumentData pointers.
This commit is contained in:
parent
0a69f3c7fd
commit
af5f85a288
1 changed files with 1 additions and 0 deletions
|
@ -1382,6 +1382,7 @@ DocumentData::~DocumentData() {
|
|||
destroyLoaderDelayed();
|
||||
}
|
||||
unload();
|
||||
ActiveCache().remove(this);
|
||||
}
|
||||
|
||||
QString DocumentData::ComposeNameString(
|
||||
|
|
Loading…
Add table
Reference in a new issue