Skip to content
Browse files

Set s_pgq to NULL after we delete it PreviewGeneratorQueue.

  • Loading branch information...
1 parent 5239296 commit 292323d67a2aa9980a79e8c74f090b9735029b36 @daniel-kristjansson daniel-kristjansson committed Jul 29, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 mythtv/libs/libmythtv/previewgeneratorqueue.cpp
View
1 mythtv/libs/libmythtv/previewgeneratorqueue.cpp
@@ -26,6 +26,7 @@ void PreviewGeneratorQueue::TeardownPreviewGeneratorQueue()
s_pgq->exit(0);
s_pgq->wait();
delete s_pgq;
+ s_pgq = NULL;
}
PreviewGeneratorQueue::PreviewGeneratorQueue(

0 comments on commit 292323d

Please sign in to comment.
Something went wrong with that request. Please try again.