Permalink
Browse files

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

…ntend. Fixes #10936

(cherry picked from commit de851dd)
  • Loading branch information...
1 parent 10a6889 commit 9e0d839be7667056dc65b79711dda84159a1b13d @stuartm stuartm committed Jul 24, 2012
@@ -0,0 +1 @@
+80466458a82759d213fe69af63d6dc80 mythplugins-0.25.2.tar.bz2
@@ -0,0 +1 @@
+2bf8c0aa75e88d39747e59c27aa6072e mythtv-0.25.2.tar.bz2
@@ -105,6 +105,7 @@ MusicPlayer::~MusicPlayer()
m_cdWatcher->stop();
m_cdWatcher->wait();
delete m_cdWatcher;
+ m_cdWatcher = NULL;
}
if (!hasClient())

0 comments on commit 9e0d839

Please sign in to comment.