2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-09-05 17:15:16 +00:00

crash on close fixed

This commit is contained in:
John Preston
2015-12-28 20:23:27 +03:00
parent 9a3489694e
commit 43e173567f
3 changed files with 7 additions and 4 deletions

View File

@@ -202,7 +202,7 @@ namespace App {
globalNotifyAllPtr = UnknownNotifySettings;
globalNotifyUsersPtr = UnknownNotifySettings;
globalNotifyChatsPtr = UnknownNotifySettings;
App::uploader()->clear();
if (App::uploader()) App::uploader()->clear();
clearStorageImages();
if (w) {
w->getTitle()->updateBackButton();