2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 14:38:15 +00:00

Track session better in media viewer.

This commit is contained in:
John Preston
2020-06-25 13:42:30 +04:00
parent c19c0afe60
commit 8fec04ba7a
4 changed files with 78 additions and 60 deletions

View File

@@ -149,12 +149,8 @@ Application::~Application() {
// Depend on activeWindow() for now :(
Shortcuts::Finish();
_window.reset();
if (_mediaView) {
_mediaView->clearData();
_mediaView = nullptr;
}
_window = nullptr;
_mediaView = nullptr;
_domain->finish();
Local::finish();