From: Felix Domke Date: Thu, 27 May 2004 11:50:20 +0000 (+0000) Subject: missing fixes X-Git-Url: http://code.vuplus.com/gitweb/?p=vuplus_dvbapp;a=commitdiff_plain;h=6e760aa65535b807a02ca575a1ae6716d76e8f9d missing fixes --- diff --git a/include/connection.h b/include/connection.h index 3ccaec1..8ca75cb 100644 --- a/include/connection.h +++ b/include/connection.h @@ -7,10 +7,11 @@ class eConnection: public virtual iObject, public Connection { int ref; + ePtr m_owner; public: DEFINE_REF(eConnection); public: - eConnection(const Connection &conn): Connection(conn), ref(0) { }; + eConnection(iObject *owner, const Connection &conn): Connection(conn), ref(0), m_owner(owner) { }; virtual ~eConnection() { disconnect(); } }; diff --git a/lib/dvb/demux.cpp b/lib/dvb/demux.cpp index e1d8bba..be9ac93 100644 --- a/lib/dvb/demux.cpp +++ b/lib/dvb/demux.cpp @@ -126,6 +126,6 @@ RESULT eDVBSectionReader::stop() RESULT eDVBSectionReader::connectRead(const Slot1 &r, ePtr &conn) { - conn = new eConnection(read.connect(r)); + conn = new eConnection(this, read.connect(r)); return 0; }