Permalink
Browse files

Set m_cdWatcher to NULL after deletion, fixes segfault on exiting fro…

…ntend. Fixes #10936
  • Loading branch information...
1 parent 73621b9 commit de851dd273eaa80689a427f915c7db40d015e0ba @stuartm stuartm committed Jul 24, 2012
View
1 checksums/mythplugins-0.25.2.md5sum
@@ -0,0 +1 @@
+80466458a82759d213fe69af63d6dc80 mythplugins-0.25.2.tar.bz2
View
1 checksums/mythtv-0.25.2.md5sum
@@ -0,0 +1 @@
+2bf8c0aa75e88d39747e59c27aa6072e mythtv-0.25.2.tar.bz2
View
1 mythplugins/mythmusic/mythmusic/musicplayer.cpp
@@ -109,6 +109,7 @@ MusicPlayer::~MusicPlayer()
m_cdWatcher->stop();
m_cdWatcher->wait();
delete m_cdWatcher;
+ m_cdWatcher = NULL;
}
if (!hasClient())

0 comments on commit de851dd

Please sign in to comment.