mirror of
https://github.com/vale981/tdesktop
synced 2025-03-06 02:01:40 -05:00
Fix possible crash in player closing.
This commit is contained in:
parent
94cf307ae0
commit
9c72470c17
1 changed files with 1 additions and 1 deletions
|
@ -1728,7 +1728,7 @@ void MainWidget::closeBothPlayers() {
|
|||
if (_playerUsingPanel) {
|
||||
_playerUsingPanel = false;
|
||||
_player.destroyDelayed();
|
||||
} else {
|
||||
} else if (_player) {
|
||||
_player->hide(anim::type::normal);
|
||||
}
|
||||
_playerVolume.destroyDelayed();
|
||||
|
|
Loading…
Add table
Reference in a new issue