mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +02:00
Fix clearing leaked files with a passcode.
This commit is contained in:
parent
47ce695142
commit
2096007ed9
1 changed files with 3 additions and 1 deletions
|
@ -2722,7 +2722,9 @@ ReadMapState readMap(const QByteArray &pass) {
|
||||||
_mapChanged = true;
|
_mapChanged = true;
|
||||||
_writeMap(WriteMapWhen::Now);
|
_writeMap(WriteMapWhen::Now);
|
||||||
}
|
}
|
||||||
clearLeakedFiles();
|
if (result != ReadMapPassNeeded) {
|
||||||
|
clearLeakedFiles();
|
||||||
|
}
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue