mirror of https://github.com/procxx/kepka.git
Fix possible crash in player closing.
This commit is contained in:
parent
94cf307ae0
commit
9c72470c17
|
@ -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…
Reference in New Issue