Added Deactivate() into destructor.

This commit is contained in:
Rolf Ahrenberg 2007-09-12 18:30:50 +00:00
parent 5624a9eb77
commit 59d56fe5c0
1 changed files with 2 additions and 3 deletions

View File

@ -3,7 +3,7 @@
*
* See the README file for copyright information and how to reach the author.
*
* $Id: streamer.c,v 1.2 2007/09/12 18:05:58 ajhseppa Exp $
* $Id: streamer.c,v 1.3 2007/09/12 18:30:50 rahrenbe Exp $
*/
#include <sys/types.h>
@ -56,8 +56,7 @@ cIptvStreamer::~cIptvStreamer()
{
debug("cIptvStreamer::~cIptvStreamer()\n");
if (Running())
Cancel(3);
Deactivate();
if (pReceiveBuffer)
free(pReceiveBuffer);