Skip to content

Commit

Permalink
ApplicationPlayer: do Reset() directly on the member instead of the s…
Browse files Browse the repository at this point in the history
…haredptr
  • Loading branch information
herrnst committed Sep 7, 2013
1 parent 4e13c22 commit 61b5c81
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion xbmc/ApplicationPlayer.cpp
Expand Up @@ -42,7 +42,9 @@ void CApplicationPlayer::ClosePlayer()
if (player)
{
CloseFile();
player.reset();
// we need to do this directly on the member
CSingleLock lock(m_player_lock);
m_pPlayer.reset();
}
}

Expand Down

0 comments on commit 61b5c81

Please sign in to comment.