mirror of
https://github.com/Qz3rK/tdesktop.git
synced 2026-07-03 14:15:08 +02:00
Clear memory on MediaView closing.
This commit is contained in:
@@ -3138,6 +3138,10 @@ void MediaView::setVisible(bool visible) {
|
||||
stopGif();
|
||||
destroyThemePreview();
|
||||
_radial.stop();
|
||||
_current = QPixmap();
|
||||
_themePreview = nullptr;
|
||||
_themeApply.destroyDelayed();
|
||||
_themeCancel.destroyDelayed();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user