Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #3206 from herrnst/appplayer-fixreset

ApplicationPlayer: do Reset() directly on the member instead of the sharedptr
  • Loading branch information...
commit 9d75119c02cb25d427b27f3e8e68d19ee077aac8 2 parents af32fce + 61b5c81
Peter Frühberger fritsch 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.