From 59d56fe5c051ba54136cf763d8c6153d94af09b0 Mon Sep 17 00:00:00 2001 From: Rolf Ahrenberg Date: Wed, 12 Sep 2007 18:30:50 +0000 Subject: [PATCH] Added Deactivate() into destructor. --- streamer.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/streamer.c b/streamer.c index 14f0e16..52d50bf 100644 --- a/streamer.c +++ b/streamer.c @@ -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 @@ -56,8 +56,7 @@ cIptvStreamer::~cIptvStreamer() { debug("cIptvStreamer::~cIptvStreamer()\n"); - if (Running()) - Cancel(3); + Deactivate(); if (pReceiveBuffer) free(pReceiveBuffer);