Permalink
Browse files

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

…ntend. Fixes #10936
  • Loading branch information...
stuartm committed Jul 24, 2012
1 parent 73621b9 commit de851dd273eaa80689a427f915c7db40d015e0ba
@@ -0,0 +1 @@
+80466458a82759d213fe69af63d6dc80 mythplugins-0.25.2.tar.bz2
@@ -0,0 +1 @@
+2bf8c0aa75e88d39747e59c27aa6072e mythtv-0.25.2.tar.bz2
@@ -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.