Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

ApplicationPlayer: do Reset() directly on the member instead of the s…

…haredptr
  • Loading branch information...
commit 61b5c81a104e5090badb116b46267ff7d6c06b56 1 parent 4e13c22
Daniel Scheller herrnst authored
Showing with 3 additions and 1 deletion.
  1. +3 −1 xbmc/ApplicationPlayer.cpp
4 xbmc/ApplicationPlayer.cpp
View
@@ -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();
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.