mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 06:35:14 +00:00
Fix crash in still downloaded ~DocumentData.
This commit is contained in:
@@ -749,6 +749,7 @@ void DocumentData::automaticLoadSettingsChanged() {
|
||||
}
|
||||
|
||||
void DocumentData::finishLoad() {
|
||||
// NB! _loader may be in ~FileLoader() already.
|
||||
const auto guard = gsl::finally([&] {
|
||||
destroyLoader();
|
||||
});
|
||||
|
Reference in New Issue
Block a user