Skip to content

Commit

Permalink
Set s_pgq to NULL after we delete it PreviewGeneratorQueue.
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-kristjansson committed Jul 30, 2012
1 parent 5239296 commit 292323d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mythtv/libs/libmythtv/previewgeneratorqueue.cpp
Expand Up @@ -26,6 +26,7 @@ void PreviewGeneratorQueue::TeardownPreviewGeneratorQueue()
s_pgq->exit(0);
s_pgq->wait();
delete s_pgq;
s_pgq = NULL;
}

PreviewGeneratorQueue::PreviewGeneratorQueue(
Expand Down

0 comments on commit 292323d

Please sign in to comment.