mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-08 08:04:08 +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();
|
destroyLoaderDelayed();
|
||||||
}
|
}
|
||||||
unload();
|
unload();
|
||||||
|
ActiveCache().remove(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
QString DocumentData::ComposeNameString(
|
QString DocumentData::ComposeNameString(
|
||||||
|
|
Loading…
Add table
Reference in a new issue